Page MenuHomePhabricator

Wrong function name on User::spreadBlock()
Closed, InvalidPublic

Description

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).


Version: 1.16.x
Severity: normal

Details

Reference
bz20749

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 21 2014, 10:57 PM
bzimport set Reference to bz20749.

PHP function names are case-insensitive.