X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fspecials%2FSpecialLockdb.php;h=a276197d4d7e0516d01f299ec461505cbd3fded4;hb=409e7d6a70a14bce050e6d613cadfb44092d7ff1;hp=1c1f1250c728170bd57be887bb200b23db4cdd98;hpb=088a8bd2b4767e90bd6136bb07ec31cb982c81ca;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/specials/SpecialLockdb.php b/includes/specials/SpecialLockdb.php index 1c1f1250c7..a276197d4d 100644 --- a/includes/specials/SpecialLockdb.php +++ b/includes/specials/SpecialLockdb.php @@ -73,9 +73,9 @@ class SpecialLockdb extends FormSpecialPage { return Status::newFatal( 'locknoconfirm' ); } - wfSuppressWarnings(); + MediaWiki\suppressWarnings(); $fp = fopen( $this->getConfig()->get( 'ReadOnlyFile' ), 'w' ); - wfRestoreWarnings(); + MediaWiki\restoreWarnings(); if ( false === $fp ) { # This used to show a file not found error, but the likeliest reason for fopen()