diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2015-12-20 09:00:55 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2015-12-20 09:00:55 +0100 |
commit | a2190ac74dd4d7080b12bab90e552d7aa81209ef (patch) | |
tree | 8b31f38de9882d18df54cf8d9e0de74167a094eb /maintenance/backupTextPass.inc | |
parent | 15e69f7b20b6596b9148030acce5b59993b95a45 (diff) | |
parent | 257401d8b2cf661adf36c84b0e3fd1cf85e33c22 (diff) |
Merge branch 'mw-1.26'
Diffstat (limited to 'maintenance/backupTextPass.inc')
-rw-r--r-- | maintenance/backupTextPass.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/maintenance/backupTextPass.inc b/maintenance/backupTextPass.inc index d83f1fcc..27be5fd6 100644 --- a/maintenance/backupTextPass.inc +++ b/maintenance/backupTextPass.inc @@ -659,13 +659,13 @@ class TextPassDumper extends BackupDumper { } private function getTextSpawned( $id ) { - wfSuppressWarnings(); + MediaWiki\suppressWarnings(); if ( !$this->spawnProc ) { // First time? $this->openSpawn(); } $text = $this->getTextSpawnedOnce( $id ); - wfRestoreWarnings(); + MediaWiki\restoreWarnings(); return $text; } @@ -712,7 +712,7 @@ class TextPassDumper extends BackupDumper { } private function closeSpawn() { - wfSuppressWarnings(); + MediaWiki\suppressWarnings(); if ( $this->spawnRead ) { fclose( $this->spawnRead ); } @@ -729,7 +729,7 @@ class TextPassDumper extends BackupDumper { pclose( $this->spawnProc ); } $this->spawnProc = false; - wfRestoreWarnings(); + MediaWiki\restoreWarnings(); } private function getTextSpawnedOnce( $id ) { |