diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-05-12 19:19:41 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-05-12 19:19:41 +0000 |
| commit | 53f65b7ec969aa41039c9fb14cb6c7c4a16a27d2 (patch) | |
| tree | b17b78acbbd954a2684303d937419893b4ea6c1a /roundcubemail/program/include | |
| parent | e5ebeb48dd59b9389496e325895aca16e418b059 (diff) | |
-added check for caching_enabled (#1485051)
git-svn-id: https://svn.roundcube.net/trunk@1380 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include')
| -rw-r--r-- | roundcubemail/program/include/rcube_imap.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roundcubemail/program/include/rcube_imap.php b/roundcubemail/program/include/rcube_imap.php index 3a634e028..8166fd69c 100644 --- a/roundcubemail/program/include/rcube_imap.php +++ b/roundcubemail/program/include/rcube_imap.php @@ -1903,6 +1903,9 @@ class rcube_imap */ function clear_cache($key=NULL) { + if (!$this->caching_enabled) + return; + if ($key===NULL) { foreach ($this->cache as $key => $data) |
