jenkins-bot has submitted this change and it was merged. Change subject: Remove use of deprecated wfGetIP() ......................................................................
Remove use of deprecated wfGetIP() Change-Id: Ia3f598801bbc211630ba513c439dc262807fc63c --- M SpecialCommunityHiring.php 1 file changed, 1 insertion(+), 1 deletion(-) Approvals: Legoktm: Looks good to me, approved jenkins-bot: Verified diff --git a/SpecialCommunityHiring.php b/SpecialCommunityHiring.php index 77e783c..6611562 100644 --- a/SpecialCommunityHiring.php +++ b/SpecialCommunityHiring.php @@ -202,7 +202,7 @@ $dbw->insert( 'community_hiring_application', array( 'ch_data' => json_encode($info), - 'ch_ip' => wfGetIP(), + 'ch_ip' => $this->getRequest()->getIP(), 'ch_timestamp' => wfTimestampNow(TS_DB) ), __METHOD__ ); -- To view, visit https://gerrit.wikimedia.org/r/157119 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ia3f598801bbc211630ba513c439dc262807fc63c Gerrit-PatchSet: 2 Gerrit-Project: mediawiki/extensions/CommunityHiring Gerrit-Branch: master Gerrit-Owner: Addshore <addshorew...@gmail.com> Gerrit-Reviewer: Legoktm <legoktm.wikipe...@gmail.com> Gerrit-Reviewer: jenkins-bot <> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits