From 6a0c8b3d2ff7f41a85a8d31cdc0199bacf5e9ae4 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 15 May 2008 19:48:12 +0000 Subject: [PATCH] E_STRICT --- includes/SpecialImport.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/SpecialImport.php b/includes/SpecialImport.php index 7f36594f6a..76bd646ab5 100644 --- a/includes/SpecialImport.php +++ b/includes/SpecialImport.php @@ -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 -- 2.20.1