Revert r21158 and r21159 -- clearly broken code.
authorBrion Vibber <brion@users.mediawiki.org>
Wed, 18 Apr 2007 18:53:54 +0000 (18:53 +0000)
committerBrion Vibber <brion@users.mediawiki.org>
Wed, 18 Apr 2007 18:53:54 +0000 (18:53 +0000)
commitf203eb5234779f9307d6c9b7aa6a7caa08917777
tree59b8a8c323b2a0a8ccd17f66675dd253d002ef82
parentff7028cc626b00f23ba9912516ff4b39d09ac2b5
Revert r21158 and r21159 -- clearly broken code.
wfGetClientIPfromXFF() uses undeclared variables -- it will never return a non-null value, but will in most cases trigger PHP notices about accessing unused variables.
It's also not documented as to what it does or how it's supposed to differ from the functions above it.
Please document, rewrite, and test this function if it is required.
includes/ProxyTools.php