From cda248c53a54f3ea6044c98509ed450cb7d596de Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Wed, 6 Jul 2011 16:29:27 +0000 Subject: [PATCH] Removed usage of error suppression operator --- includes/objectcache/SqlBagOStuff.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/includes/objectcache/SqlBagOStuff.php b/includes/objectcache/SqlBagOStuff.php index 4174913b22..7eb125ac70 100644 --- a/includes/objectcache/SqlBagOStuff.php +++ b/includes/objectcache/SqlBagOStuff.php @@ -361,7 +361,9 @@ class SqlBagOStuff extends BagOStuff { */ protected function unserialize( $serial ) { if ( function_exists( 'gzinflate' ) ) { - $decomp = @gzinflate( $serial ); + wfSuppressWarnings(); + $decomp = gzinflate( $serial ); + wfRestoreWarnings(); if ( false !== $decomp ) { $serial = $decomp; -- 2.20.1