Merge "Revert "Load all CSS in the top queue""
[lhc/web/wiklou.git] / includes / cache / FileCacheBase.php
index 4bf3611..5632596 100644 (file)
@@ -185,9 +185,9 @@ abstract class FileCacheBase {
         * @return void
         */
        public function clearCache() {
-               wfSuppressWarnings();
+               MediaWiki\suppressWarnings();
                unlink( $this->cachePath() );
-               wfRestoreWarnings();
+               MediaWiki\restoreWarnings();
                $this->mCached = false;
        }