From 28ac5cada2410f6c2066fb9b822ccd898b77b5d0 Mon Sep 17 00:00:00 2001 From: thomascube Date: Tue, 24 May 2011 19:58:12 +0000 Subject: Let plugins hook into keep-alive requests --- CHANGELOG | 1 + index.php | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index ebb51cc9d..64c0ad341 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,6 +1,7 @@ CHANGELOG Roundcube Webmail =========================== +- Added plugin hook for keep-alive requests - Store user preferences in session when write-master is not available and session is stored in memcache, write them later - Improve performence of folder manager operations - Fix default_port option handling in Installer when config.inc.php file exists (#1487925) diff --git a/index.php b/index.php index 888895899..2cf58145b 100644 --- a/index.php +++ b/index.php @@ -205,6 +205,7 @@ else { // handle special actions if ($RCMAIL->action == 'keep-alive') { $OUTPUT->reset(); + $RCMAIL->plugins->exec_hook('keep_alive', array()); $OUTPUT->send(); } else if ($RCMAIL->action == 'save-pref') { -- cgit v1.2.3