From daf15e14ab481e9b8811bc825bb448df5ec80421 Mon Sep 17 00:00:00 2001 From: Reedy Date: Tue, 12 Feb 2019 23:48:31 +0000 Subject: [PATCH] Update AtEase calls to use Wikimedia namespace Helps ease migration (stops vendor patch failing) Change-Id: I9a985b341e1c3664c4ced6f793b19149067a580a --- includes/shell/Command.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/shell/Command.php b/includes/shell/Command.php index d504611f7d..1936d000fc 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 ) { -- 2.20.1