From 96de342c33b60459ac021ac4cdbf3083f9c77231 Mon Sep 17 00:00:00 2001 From: Reedy Date: Wed, 18 Apr 2018 14:10:42 +0000 Subject: [PATCH] Replace recently introduced mediawiki/at-ease calls Change-Id: I1f6b7ed199faf4c8f3a3932731507c18413ad6e6 --- includes/sparql/SparqlClient.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/sparql/SparqlClient.php b/includes/sparql/SparqlClient.php index 6c913d2a44..778a3b3248 100644 --- a/includes/sparql/SparqlClient.php +++ b/includes/sparql/SparqlClient.php @@ -173,9 +173,9 @@ class SparqlClient { throw new SparqlException( "HTTP error: {$status->getWikiText()}" ); } $result = $request->getContent(); - \MediaWiki\suppressWarnings(); + \Wikimedia\suppressWarnings(); $data = json_decode( $result, true ); - \MediaWiki\restoreWarnings(); + \Wikimedia\restoreWarnings(); if ( $data === null || $data === false ) { throw new SparqlException( "HTTP request failed, response:\n" . substr( $result, 1024 ) ); -- 2.20.1