summaryrefslogtreecommitdiff
path: root/maintenance/rebuildFileCache.php
diff options
context:
space:
mode:
Diffstat (limited to 'maintenance/rebuildFileCache.php')
-rw-r--r--maintenance/rebuildFileCache.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/maintenance/rebuildFileCache.php b/maintenance/rebuildFileCache.php
index 6ce54b9f..924457ae 100644
--- a/maintenance/rebuildFileCache.php
+++ b/maintenance/rebuildFileCache.php
@@ -131,9 +131,9 @@ class RebuildFileCache extends Maintenance {
ob_start( array( &$cache, 'saveToFileCache' ) ); // save on ob_end_clean()
$wgUseFileCache = false; // hack, we don't want $article fiddling with filecache
$article->view();
- wfSuppressWarnings(); // header notices
+ MediaWiki\suppressWarnings(); // header notices
$wgOut->output();
- wfRestoreWarnings();
+ MediaWiki\restoreWarnings();
$wgUseFileCache = true;
ob_end_clean(); // clear buffer
if ( $rebuilt ) {