E_STRICT
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 15 May 2008 19:48:12 +0000 (19:48 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Thu, 15 May 2008 19:48:12 +0000 (19:48 +0000)
includes/SpecialImport.php

index 7f36594..76bd646 100644 (file)
@@ -1118,7 +1118,7 @@ class ImportStreamSource {
                }
        }
 
-       function newFromURL( $url, $method = 'GET' ) {
+       static function newFromURL( $url, $method = 'GET' ) {
                wfDebug( __METHOD__ . ": opening $url\n" );
                # Use the standard HTTP fetch function; it times out
                # quicker and sorts out user-agent problems which might