summaryrefslogtreecommitdiff
path: root/includes/installer/SqliteInstaller.php
diff options
context:
space:
mode:
Diffstat (limited to 'includes/installer/SqliteInstaller.php')
-rw-r--r--includes/installer/SqliteInstaller.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/installer/SqliteInstaller.php b/includes/installer/SqliteInstaller.php
index f990ddf5..43b809c9 100644
--- a/includes/installer/SqliteInstaller.php
+++ b/includes/installer/SqliteInstaller.php
@@ -157,9 +157,9 @@ class SqliteInstaller extends DatabaseInstaller {
# Called early on in the installer, later we just want to sanity check
# if it's still writable
if ( $create ) {
- wfSuppressWarnings();
+ MediaWiki\suppressWarnings();
$ok = wfMkdirParents( $dir, 0700, __METHOD__ );
- wfRestoreWarnings();
+ MediaWiki\restoreWarnings();
if ( !$ok ) {
return Status::newFatal( 'config-sqlite-mkdir-error', $dir );
}