summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorthomascube <thomas@roundcube.net>2011-05-24 19:58:12 +0000
committerthomascube <thomas@roundcube.net>2011-05-24 19:58:12 +0000
commit28ac5cada2410f6c2066fb9b822ccd898b77b5d0 (patch)
tree3931f2b9e255802aef10a7a541ea6d3418810128
parente7b6e907c5d0fd509adbc910f03160c75afce65c (diff)
Let plugins hook into keep-alive requests
-rw-r--r--CHANGELOG1
-rw-r--r--index.php1
2 files changed, 2 insertions, 0 deletions
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') {