X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=includes%2Flibs%2Fobjectcache%2FMemcachedClient.php;h=59131b976a591deb812653dd8afa4ba70a7cbb78;hp=b937736d4faee4dbaeb8fb38a112c071dffc3e4b;hb=39f0f919c5708f4c672a8eb7e0891f50bf16883e;hpb=d3b580977d71e1bf93279301d90790cf3916d2a3 diff --git a/includes/libs/objectcache/MemcachedClient.php b/includes/libs/objectcache/MemcachedClient.php index b937736d4f..59131b976a 100644 --- a/includes/libs/objectcache/MemcachedClient.php +++ b/includes/libs/objectcache/MemcachedClient.php @@ -788,13 +788,13 @@ class MemcachedClient { $timeout = $this->_connect_timeout; $errno = $errstr = null; for ( $i = 0; !$sock && $i < $this->_connect_attempts; $i++ ) { - MediaWiki\suppressWarnings(); + Wikimedia\suppressWarnings(); if ( $this->_persistent == 1 ) { $sock = pfsockopen( $ip, $port, $errno, $errstr, $timeout ); } else { $sock = fsockopen( $ip, $port, $errno, $errstr, $timeout ); } - MediaWiki\restoreWarnings(); + Wikimedia\restoreWarnings(); } if ( !$sock ) { $this->_error_log( "Error connecting to $host: $errstr" );