Update suppressWarning()/restoreWarning() calls
[lhc/web/wiklou.git] / includes / import / ImportStreamSource.php
index 94a2b93..cf382e4 100644 (file)
@@ -53,9 +53,9 @@ class ImportStreamSource implements ImportSource {
         * @return Status
         */
        static function newFromFile( $filename ) {
-               MediaWiki\suppressWarnings();
+               Wikimedia\suppressWarnings();
                $file = fopen( $filename, 'rt' );
-               MediaWiki\restoreWarnings();
+               Wikimedia\restoreWarnings();
                if ( !$file ) {
                        return Status::newFatal( "importcantopen" );
                }