Index: trunk/phase3/includes/SpecialImport.php |
— | — | @@ -1118,7 +1118,7 @@ |
1119 | 1119 | } |
1120 | 1120 | } |
1121 | 1121 | |
1122 | | - function newFromURL( $url, $method = 'GET' ) { |
| 1122 | + static function newFromURL( $url, $method = 'GET' ) { |
1123 | 1123 | wfDebug( __METHOD__ . ": opening $url\n" ); |
1124 | 1124 | # Use the standard HTTP fetch function; it times out |
1125 | 1125 | # quicker and sorts out user-agent problems which might |