From 9ca5fcd51acb46cda85192c8b736e4bc70726ae2 Mon Sep 17 00:00:00 2001 From: Shish Date: Mon, 1 Feb 2010 16:17:00 +0000 Subject: [PATCH] MemCache is already used... --- core/database.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/database.class.php b/core/database.class.php index e2ad9cc2..7ea8dabc 100644 --- a/core/database.class.php +++ b/core/database.class.php @@ -176,7 +176,7 @@ class NoCache implements CacheEngine { public function get_hits() {return 0;} public function get_misses() {return 0;} } -class MemCache implements CacheEngine { +class MemcacheCache implements CacheEngine { var $hits=0, $misses=0; public function __construct($args) { @@ -255,7 +255,7 @@ class Database { $matches = array(); preg_match("#(memcache)://(.*)#", $cache, $matches); if($matches[1] == "memcache") { - $this->cache = new MemCache($matches[2]); + $this->cache = new MemcacheCache($matches[2]); } } else {