summaryrefslogtreecommitdiff
path: root/maintenance/install.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2015-12-17 09:15:42 +0100
committerPierre Schmitz <pierre@archlinux.de>2015-12-17 09:44:51 +0100
commita1789ddde42033f1b05cc4929491214ee6e79383 (patch)
tree63615735c4ddffaaabf2428946bb26f90899f7bf /maintenance/install.php
parent9e06a62f265e3a2aaabecc598d4bc617e06fa32d (diff)
Update to MediaWiki 1.26.0
Diffstat (limited to 'maintenance/install.php')
-rw-r--r--maintenance/install.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/maintenance/install.php b/maintenance/install.php
index b948b674..0037ea80 100644
--- a/maintenance/install.php
+++ b/maintenance/install.php
@@ -104,9 +104,9 @@ class CommandLineInstaller extends Maintenance {
$this->error( 'WARNING: You have provided the options "dbpass" and "dbpassfile". '
. 'The content of "dbpassfile" overrides "dbpass".' );
}
- wfSuppressWarnings();
+ MediaWiki\suppressWarnings();
$dbpass = file_get_contents( $dbpassfile ); // returns false on failure
- wfRestoreWarnings();
+ MediaWiki\restoreWarnings();
if ( $dbpass === false ) {
$this->error( "Couldn't open $dbpassfile", true );
}
@@ -119,9 +119,9 @@ class CommandLineInstaller extends Maintenance {
$this->error( 'WARNING: You have provided the options "pass" and "passfile". '
. 'The content of "passfile" overrides "pass".' );
}
- wfSuppressWarnings();
+ MediaWiki\suppressWarnings();
$pass = file_get_contents( $passfile ); // returns false on failure
- wfRestoreWarnings();
+ MediaWiki\restoreWarnings();
if ( $pass === false ) {
$this->error( "Couldn't open $passfile", true );
}