From 6a2173d504aa144b9867c4f58bf495d596b0076c Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Fri, 17 May 2013 16:38:58 +0200 Subject: [PATCH] fixed typo, added debug level to key store --- public/include/classes/statscache.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/include/classes/statscache.class.php b/public/include/classes/statscache.class.php index 7931da99..b6884d61 100644 --- a/public/include/classes/statscache.class.php +++ b/public/include/classes/statscache.class.php @@ -25,7 +25,7 @@ class StatsCache extends Memcached { if (! $this->config['memcache']['enabled']) return false; if (empty($expiration)) $expiration = $this->config['memcache']['expiration'] + rand( -$this->config['memcache']['splay'], $this->config['memcache']['splay']); - $this->debug->append("Stroing " . $this->config['memcache']['keyprefix'] . "$key with expiration of $expiration"); + $this->debug->append("Storing " . $this->config['memcache']['keyprefix'] . "$key with expiration $expiration", 3); return parent::set($this->config['memcache']['keyprefix'] . $key, $value, $expiration); }