X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fmodules%2Fcontrib%2Fmemcache%2Fsrc%2FDrupalMemcacheFactory.php;fp=web%2Fmodules%2Fcontrib%2Fmemcache%2Fsrc%2FDrupalMemcacheFactory.php;h=30e9ccee865d28b601f14fcfb31d44500babb54b;hp=fd2ef61345054fe50a604ca6377917813f04b65d;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/modules/contrib/memcache/src/DrupalMemcacheFactory.php b/web/modules/contrib/memcache/src/DrupalMemcacheFactory.php index fd2ef6134..30e9ccee8 100644 --- a/web/modules/contrib/memcache/src/DrupalMemcacheFactory.php +++ b/web/modules/contrib/memcache/src/DrupalMemcacheFactory.php @@ -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; } }