From 31e4b7a407643d11c21657504810d966ff6c1a64 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Wed, 6 Jul 2011 14:50:05 -0700 Subject: [PATCH] Trimming comment bloat in Memcached class. --- system/memcached.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/system/memcached.php b/system/memcached.php index c07d7416..2361ec8d 100644 --- a/system/memcached.php +++ b/system/memcached.php @@ -25,17 +25,11 @@ class Memcached { $memcache = new \Memcache; - // ----------------------------------------------------- - // Configure the Memcache servers. - // ----------------------------------------------------- foreach (Config::get('cache.servers') as $server) { $memcache->addServer($server['host'], $server['port'], true, $server['weight']); } - // ----------------------------------------------------- - // Verify Memcache was configured successfully. - // ----------------------------------------------------- if ($memcache->getVersion() === false) { throw new \Exception('Memcached is configured. However, no connections could be made. Please verify your memcached configuration.');