Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / modules / contrib / memcache / src / DrupalMemcacheFactory.php
index fd2ef61345054fe50a604ca6377917813f04b65d..30e9ccee865d28b601f14fcfb31d44500babb54b 100644 (file)
@@ -112,10 +112,6 @@ class DrupalMemcacheFactory {
             }
 
             if (!$init) {
-              // We can't use watchdog because this happens in a bootstrap phase
-              // where watchdog is non-functional. Register a shutdown handler
-              // instead so it gets recorded at the end of page load.
-              register_shutdown_function('memcache_log_warning', LogLevel::ERROR, 'Failed to connect to memcache server: !server', array('!server' => $s));
               $this->failedConnectionCache[$s] = FALSE;
             }
           }