From: Reedy Date: Tue, 12 Feb 2019 23:48:31 +0000 (+0000) Subject: Update AtEase calls to use Wikimedia namespace X-Git-Tag: 1.34.0-rc.0~2824^2 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=daf15e14ab481e9b8811bc825bb448df5ec80421 Update AtEase calls to use Wikimedia namespace Helps ease migration (stops vendor patch failing) Change-Id: I9a985b341e1c3664c4ced6f793b19149067a580a --- 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 ) {