Moved wfGetIP() to WebRequest::getIP():
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 18 Aug 2011 20:03:30 +0000 (20:03 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 18 Aug 2011 20:03:30 +0000 (20:03 +0000)
commit77a3987052aac525658377b702483ff8f3e431c6
tree7c5500547625185606ad9a285f2931d8834dece9
parent0cd40f71fa64aa4c5ba67d2595b52d8e3fab839a
Moved wfGetIP() to WebRequest::getIP():
* Changed all calls in core to the latter
* Also marked wfGetForwardedFor() as deprecated
* Moved wfGetIP() tests to WebRequestTest
17 files changed:
api.php
includes/Autopromote.php
includes/EditPage.php
includes/Exception.php
includes/ProxyTools.php
includes/RecentChange.php
includes/SkinLegacy.php
includes/Title.php
includes/User.php
includes/WebRequest.php
includes/specials/SpecialBlockme.php
includes/specials/SpecialPasswordReset.php
includes/specials/SpecialUserlogin.php
includes/specials/SpecialVersion.php
tests/phpunit/includes/ProxyTools/README [deleted file]
tests/phpunit/includes/ProxyTools/wfGetIPTest.php [deleted file]
tests/phpunit/includes/WebRequestTest.php