Remove a message for a feature introduced with r47569 and reverted with r48780.
[lhc/web/wiklou.git] / api.php
diff --git a/api.php b/api.php
index 39d27dd..7aef1eb 100644 (file)
--- a/api.php
+++ b/api.php
@@ -127,7 +127,7 @@ if ( $wgAPIRequestLog ) {
        $items = array(
                        wfTimestamp( TS_MW ),
                        $endtime - $starttime,
-                       wfGetIP(),
+                       $wgRequest->getIP(),
                        $_SERVER['HTTP_USER_AGENT']
        );
        $items[] = $wgRequest->wasPosted() ? 'POST' : 'GET';