From e751a9283893ad6559102e2bee9d529bf6ea4546 Mon Sep 17 00:00:00 2001 From: Michael Rubinsky Date: Sat, 10 Jan 2009 00:30:03 -0500 Subject: [PATCH] IMP::getCacheOb() shouldn't return false if there is no cache configured, it should return a Horde_Cache object that's not backed by any storage. --- imp/lib/IMP.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/imp/lib/IMP.php b/imp/lib/IMP.php index ee4507350..579c11d48 100644 --- a/imp/lib/IMP.php +++ b/imp/lib/IMP.php @@ -1938,10 +1938,6 @@ class IMP { global $conf; - if ($conf['cache']['driver'] == 'none') { - return false; - } - $cache = &Horde_Cache::singleton($conf['cache']['driver'], Horde::getDriverConfig('cache', $conf['cache']['driver'])); if (is_a($cache, 'PEAR_Error')) { Horde::fatal($cache, __FILE__, __LINE__); -- 2.11.0