Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / memcache / src / DrupalMemcache.php
index c00d0daf32c3ec408d4dba0441fcb41cfca0b636..dd1027f6c38e9e2b80244810834f1208aa10fa01 100644 (file)
@@ -86,16 +86,7 @@ class DrupalMemcache extends DrupalMemcacheBase {
       $full_keys[$cid] = $full_key;
     }
 
-    $track_errors = ini_set('track_errors', 1);
-    $php_errormsg = '';
-    $results = @$this->memcache->get($full_keys);
-
-    if (!empty($php_errormsg)) {
-      register_shutdown_function('memcache_log_warning', LogLevel::WARNING, 'Exception caught in DrupalMemcache::getMulti: !msg', array('!msg' => $php_errormsg));
-      $php_errormsg = '';
-    }
-
-    ini_set('track_errors', $track_errors);
+    $results = $this->memcache->get($full_keys);
 
     // If $results is FALSE, convert it to an empty array.
     if (!$results) {