Make LinksUpdate job spec use "refreshLinksPrioritized"
[lhc/web/wiklou.git] / maintenance / backup.inc
index 222c538..6e1ddb4 100644 (file)
@@ -135,9 +135,9 @@ class BackupDumper {
                foreach ( $args as $arg ) {
                        $matches = array();
                        if ( preg_match( '/^--(.+?)(?:=(.+?)(?::(.+?))?)?$/', $arg, $matches ) ) {
-                               wfSuppressWarnings();
+                               MediaWiki\suppressWarnings();
                                list( /* $full */, $opt, $val, $param ) = $matches;
-                               wfRestoreWarnings();
+                               MediaWiki\restoreWarnings();
 
                                switch ( $opt ) {
                                        case "plugin":