r105009 MediaWiki - Code Review archive
Repository:
MediaWiki
Revision:
<
r105008
|
r105009
|
r105010
>
Date:
21:49, 2 December 2011
Author:
aaron
Status:
ok
Tags:
Comment:
Use wfGetIP() instead of WebRequest method that is not defined in this MW version (
bug 32754
)
Modified paths:
/branches/REL1_18/phase3/includes/User.php
(modified) (
history
)
Diff
[
purge
]
Index: branches/REL1_18/phase3/includes/User.php
—
—
@@ -2938,7 +2938,7 @@
2939
2939
return false;
2940
2940
}
2941
2941
2942
- return (bool)$userblock->doAutoblock( $this->getRequest()->getIP() );
2942
+ return (bool)$userblock->doAutoblock( wfGetIP() );
2943
2943
}
2944
2944
2945
2945
/**
Status & tagging log
17:23, 6 January 2012
😂
(
talk
|
contribs
)
changed the
status
of r105009
[
removed:
new
added:
ok]