Skip to content

Commit

Permalink
[mms] Relax type checking on cache driver object.
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Feb 25, 2014
1 parent 1beedd9 commit 13b376f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions framework/Imap_Client/lib/Horde/Imap/Client/Base.php
Expand Up @@ -483,8 +483,7 @@ protected function _initCache($current = false)
}

if (is_null($this->_cache)) {
if (isset($c['backend']) &&
($c['backend'] instanceof Horde_Imap_Client_Cache_Backend)) {
if (isset($c['backend'])) {
$backend = $c['backend'];
} elseif (isset($c['cacheob'])) {
/* Deprecated */
Expand Down
4 changes: 2 additions & 2 deletions framework/Imap_Client/package.xml
Expand Up @@ -21,7 +21,7 @@
</stability>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [mms] Relax type checking on cache driver object.
</notes>
<contents>
<dir baseinstalldir="/" name="/">
Expand Down Expand Up @@ -2213,7 +2213,7 @@
<date>2014-02-24</date>
<license uri="http://www.horde.org/licenses/lgpl21">LGPL-2.1</license>
<notes>
*
* [mms] Relax type checking on cache driver object.
</notes>
</release>
</changelog>
Expand Down

0 comments on commit 13b376f

Please sign in to comment.