From: Alexandre Emsenhuber Date: Wed, 6 Jul 2011 16:29:27 +0000 (+0000) Subject: Removed usage of error suppression operator X-Git-Tag: 1.31.0-rc.0~29044 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=cda248c53a54f3ea6044c98509ed450cb7d596de;p=lhc%2Fweb%2Fwiklou.git Removed usage of error suppression operator --- 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;