summaryrefslogtreecommitdiff
path: root/program/include/rcube_storage.php
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2012-02-21 21:43:39 +0000
committerthomascube <thomas@roundcube.net>2012-02-21 21:43:39 +0000
commitfec2d8e1309d1f16f9cd772b82b28627d9359354 (patch)
tree84a7d8d9276822535c6bfb2fd8429258df3436cf /program/include/rcube_storage.php
parent965e6276b3bf20545bcec46f87ef13ffadfac6c3 (diff)
Refactored IMAP cache expunge: delegate to storage object; don't rely on deprecated 'enable_caching' config option
Diffstat (limited to 'program/include/rcube_storage.php')
-rw-r--r--program/include/rcube_storage.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/program/include/rcube_storage.php b/program/include/rcube_storage.php
index 54e58ecf2..cef773c82 100644
--- a/program/include/rcube_storage.php
+++ b/program/include/rcube_storage.php
@@ -971,6 +971,11 @@ abstract class rcube_storage
*/
abstract function get_cache($key);
+ /**
+ * Delete outdated cache entries
+ */
+ abstract function expunge_cache();
+
} // end class rcube_storage