summaryrefslogtreecommitdiff
path: root/includes/specials/SpecialUnlockdb.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/specials/SpecialUnlockdb.php')
-rw-r--r--includes/specials/SpecialUnlockdb.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/specials/SpecialUnlockdb.php b/includes/specials/SpecialUnlockdb.php
index a8b97d78..dc03a4a7 100644
--- a/includes/specials/SpecialUnlockdb.php
+++ b/includes/specials/SpecialUnlockdb.php
@@ -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();