From 28ac5cada2410f6c2066fb9b822ccd898b77b5d0 Mon Sep 17 00:00:00 2001 From: thomascube <thomas@roundcube.net> Date: Tue, 24 May 2011 15:58:12 -0400 Subject: [PATCH] Let plugins hook into keep-alive requests --- CHANGELOG | 1 + index.php | 1 + 2 files changed, 2 insertions(+), 0 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index ebb51cc..64c0ad3 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 8888958..2cf5814 100644 --- a/index.php +++ b/index.php @@ -205,6 +205,7 @@ // 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') { -- Gitblit v1.9.1