From 8f4b4ed9701611c027eb71aeca6f2a7cd74abe05 Mon Sep 17 00:00:00 2001 From: Ilya Stromberg Date: Thu, 11 Jul 2013 19:35:23 +0400 Subject: [PATCH] Fix code style --- public/include/classes/statscache.class.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/include/classes/statscache.class.php b/public/include/classes/statscache.class.php index c3e9ea38..e64d5d02 100644 --- a/public/include/classes/statscache.class.php +++ b/public/include/classes/statscache.class.php @@ -17,8 +17,9 @@ class StatsCache { $this->debug = $debug; if (! $config['memcache']['enabled'] ) { $this->debug->append("Not storing any values in memcache"); + } else { + $this->cache = new Memcached(); } - else { $this->cache = new Memcached(); } } /**