projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d00b01f
)
IMP::getCacheOb() shouldn't return false if there is no cache configured,
author
Michael Rubinsky
<mrubinsk@yosemite.localdomain>
Sat, 10 Jan 2009 05:30:03 +0000
(
00:30
-0500)
committer
Michael Rubinsky
<mrubinsk@yosemite.localdomain>
Sat, 10 Jan 2009 05:30:03 +0000
(
00:30
-0500)
it should return a Horde_Cache object that's not backed by any storage.
imp/lib/IMP.php
patch
|
blob
|
history
diff --git
a/imp/lib/IMP.php
b/imp/lib/IMP.php
index
ee45073
..
579c11d
100644
(file)
--- 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__);