From a95687cfe8ede73033912848d445bb63257d850a Mon Sep 17 00:00:00 2001
From: Aleksander Machniak <alec@alec.pl>
Date: Mon, 12 Nov 2012 08:33:22 -0500
Subject: [PATCH] Plugin API: Add 'refresh' hook

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

diff --git a/index.php b/index.php
index 05fc641..aee94e9 100644
--- a/index.php
+++ b/index.php
@@ -290,6 +290,9 @@
   }
 }
 
+if ($RCMAIL->action == 'refresh') {
+  $RCMAIL->plugins->exec_hook('refresh', array());
+}
 
 // parse main template (default)
 $OUTPUT->send($RCMAIL->task);

--
Gitblit v1.9.1