Skip to content

Commit

Permalink
Support new hashtable imap cache driver (not documented yet)
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jan 3, 2014
1 parent bfa5c9b commit 9597ede
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions imp/lib/Imap/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,10 @@ public function __get($name)
$ob = new Horde_Imap_Client_Cache_Backend_Db(array(
'db' => $injector->getInstance('Horde_Db_Adapter')
));
} elseif (strcasecmp($c, 'hashtable') === 0) {
$ob = new Horde_Imap_Client_Cache_Backend_Hashtable(array(
'hashtable' => $injector->getInstance('Horde_HashTable')
));
} else {
/* TODO: For IMP 6.x BC, treat everything else as the
* 'cache' option. */
Expand Down

0 comments on commit 9597ede

Please sign in to comment.