Index: branches/wmf/1.18wmf1/extensions/CheckUser/CheckUser_body.php |
— | — | @@ -1041,7 +1041,7 @@ |
1042 | 1042 | # XFF string, link to /xff search |
1043 | 1043 | if ( $set[1] ) { |
1044 | 1044 | # Flag our trusted proxies |
1045 | | - list( $client, $trusted ) = efGetClientIPfromXFF( $set[1], $set[0] ); |
| 1045 | + list( $client, $trusted ) = CheckUserHooks::getClientIPfromXFF( $set[1], $set[0] ); |
1046 | 1046 | $c = $trusted ? '#F0FFF0' : '#FFFFCC'; |
1047 | 1047 | $s .= '   <span style="background-color: ' . $c . '"><strong>XFF</strong>: '; |
1048 | 1048 | $s .= $this->sk->makeKnownLinkObj( $this->getTitle(), |
— | — | @@ -1184,7 +1184,7 @@ |
1185 | 1185 | # XFF |
1186 | 1186 | if ( $row->cuc_xff != null ) { |
1187 | 1187 | # Flag our trusted proxies |
1188 | | - list( $client, $trusted ) = efGetClientIPfromXFF( $row->cuc_xff, $row->cuc_ip ); |
| 1188 | + list( $client, $trusted ) = CheckUserHooks::getClientIPfromXFF( $row->cuc_xff, $row->cuc_ip ); |
1189 | 1189 | $c = $trusted ? '#F0FFF0' : '#FFFFCC'; |
1190 | 1190 | $line .= '   <span class="mw-checkuser-xff" style="background-color: ' . $c . '">' . |
1191 | 1191 | '<strong>XFF</strong>: '; |