diff options
Diffstat (limited to 'maintenance/jsparse.php')
-rw-r--r-- | maintenance/jsparse.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/maintenance/jsparse.php b/maintenance/jsparse.php index 3f0a9ba7..fddfc024 100644 --- a/maintenance/jsparse.php +++ b/maintenance/jsparse.php @@ -47,9 +47,9 @@ class JSParseHelper extends Maintenance { $parser = new JSParser(); foreach ( $files as $filename ) { - wfSuppressWarnings(); + MediaWiki\suppressWarnings(); $js = file_get_contents( $filename ); - wfRestoreWarnings(); + MediaWiki\restoreWarnings(); if ( $js === false ) { $this->output( "$filename ERROR: could not read file\n" ); $this->errs++; |