From b1057a2781fc977846760572ee48997c05ce8cd0 Mon Sep 17 00:00:00 2001
From: alecpl <alec@alec.pl>
Date: Tue, 05 Jul 2011 06:08:52 -0400
Subject: [PATCH] - Remove debug code

---
 index.php |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/index.php b/index.php
index 9ba19c7..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') {
@@ -221,6 +222,7 @@
 while ($redirects < 5) {
   // execute a plugin action
   if ($RCMAIL->plugins->is_plugin_task($RCMAIL->task)) {
+    if (!$RCMAIL->action) $RCMAIL->action = 'index';
     $RCMAIL->plugins->exec_action($RCMAIL->task.'.'.$RCMAIL->action);
     break;
   }

--
Gitblit v1.9.1