aboutsummaryrefslogtreecommitdiffstats
path: root/includes/shell
diff options
context:
space:
mode:
authorReedy <reedy@wikimedia.org>2019-02-12 23:48:31 +0000
committerReedy <reedy@wikimedia.org>2019-02-12 23:48:31 +0000
commitdaf15e14ab481e9b8811bc825bb448df5ec80421 (patch)
tree2b73d1c31e82e39594eac433298c5b6b21c61b85 /includes/shell
parente36ef661d96e3bf2e0693574497b7c15b8aca203 (diff)
downloadmediawikicore-daf15e14ab481e9b8811bc825bb448df5ec80421.tar.gz
mediawikicore-daf15e14ab481e9b8811bc825bb448df5ec80421.zip
Update AtEase calls to use Wikimedia namespace
Helps ease migration (stops vendor patch failing) Change-Id: I9a985b341e1c3664c4ced6f793b19149067a580a
Diffstat (limited to 'includes/shell')
-rw-r--r--includes/shell/Command.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/shell/Command.php b/includes/shell/Command.php
index d504611f7d44..1936d000fc42 100644
--- a/includes/shell/Command.php
+++ b/includes/shell/Command.php
@@ -433,9 +433,9 @@ class Command {
// TODO replace with clear_last_error when requirements are bumped to PHP7
set_error_handler( function () {
}, 0 );
- \MediaWiki\suppressWarnings();
+ \Wikimedia\suppressWarnings();
trigger_error( '' );
- \MediaWiki\restoreWarnings();
+ \Wikimedia\restoreWarnings();
restore_error_handler();
$readPipes = array_filter( $pipes, function ( $fd ) use ( $desc ) {