diff options
author | Aleksander Machniak <alec@alec.pl> | 2013-05-25 15:46:20 +0200 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2013-05-25 15:46:20 +0200 |
commit | 00cb22cf92d267fe602ad37336fba4454c6aa896 (patch) | |
tree | 3e7fcfddc9f843d2d25b0d126f3f3f325c5d7e6d /program/lib/Roundcube/rcube.php | |
parent | 50abd557184326f173357b50e7593dc3f452be91 (diff) |
Expunge all cache instances in shutdown
Diffstat (limited to 'program/lib/Roundcube/rcube.php')
-rw-r--r-- | program/lib/Roundcube/rcube.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/lib/Roundcube/rcube.php b/program/lib/Roundcube/rcube.php index a57cad57e..78d7959b7 100644 --- a/program/lib/Roundcube/rcube.php +++ b/program/lib/Roundcube/rcube.php @@ -897,6 +897,9 @@ class rcube foreach ($this->caches as $cache) { if (is_object($cache)) { + if ($this->expunge_cache) { + $cache->expunge(); + } $cache->close(); } } |