From 73f21a115573e1e0fad8a31325f194a1fbfbdace Mon Sep 17 00:00:00 2001 From: Reedy Date: Wed, 18 Apr 2018 14:30:21 +0000 Subject: [PATCH] Update at-ease calls Bug: T187037 Change-Id: I9b681cf900a3aaf1be3e688d12e3e83f44bff91b --- includes/engines/LuaStandalone/LuaStandaloneEngine.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/engines/LuaStandalone/LuaStandaloneEngine.php b/includes/engines/LuaStandalone/LuaStandaloneEngine.php index 35043234..35f02618 100644 --- a/includes/engines/LuaStandalone/LuaStandaloneEngine.php +++ b/includes/engines/LuaStandalone/LuaStandaloneEngine.php @@ -246,9 +246,9 @@ class Scribunto_LuaStandaloneInterpreter extends Scribunto_LuaInterpreter { // Clear the "last error", so if proc_open fails we can know any // warning was generated by that. - \MediaWiki\suppressWarnings(); + Wikimedia\suppressWarnings(); trigger_error( '' ); - \MediaWiki\restoreWarnings(); + Wikimedia\restoreWarnings(); $this->proc = proc_open( $cmd,