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
---
index.php | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
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