Last modified: 2009-09-20 19:07:23 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T22749, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 20749 - Wrong function name on User::spreadBlock()
Wrong function name on User::spreadBlock()
Status: RESOLVED INVALID
Product: MediaWiki
Classification: Unclassified
User blocking (Other open bugs)
1.16.x
All All
: Normal normal (vote)
: ---
Assigned To: Andrew Garrett
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2009-09-20 19:04 UTC by Platonides
Modified: 2009-09-20 19:07 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Platonides 2009-09-20 19:04:42 UTC
User::spreadBlock() contain the line $userblock->doAutoblock( wfGetIp() );, added on r17486
There's no function wfGetIp(), it is called wfGetIP(). Although given that there were no reports in almost 3 years, it might be dead code which should be removed (even if only blocked people reach there, there woud have been traces in the logs).
Comment 1 Andrew Garrett 2009-09-20 19:07:23 UTC
PHP function names are case-insensitive.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links