Merge "Add `makeKey` and `makeGlobalKey` to BagOStuff"
[lhc/web/wiklou.git] / includes / specials / SpecialUnlockdb.php
index a8b97d7..dc03a4a 100644 (file)
@@ -65,9 +65,9 @@ class SpecialUnlockdb extends FormSpecialPage {
                }
 
                $readOnlyFile = $this->getConfig()->get( 'ReadOnlyFile' );
-               wfSuppressWarnings();
+               MediaWiki\suppressWarnings();
                $res = unlink( $readOnlyFile );
-               wfRestoreWarnings();
+               MediaWiki\restoreWarnings();
 
                if ( $res ) {
                        return Status::newGood();