From a95687cfe8ede73033912848d445bb63257d850a Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 12 Nov 2012 14:33:22 +0100 Subject: Plugin API: Add 'refresh' hook --- index.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index.php') diff --git a/index.php b/index.php index 05fc641b5..aee94e971 100644 --- a/index.php +++ b/index.php @@ -290,6 +290,9 @@ while ($redirects < 5) { } } +if ($RCMAIL->action == 'refresh') { + $RCMAIL->plugins->exec_hook('refresh', array()); +} // parse main template (default) $OUTPUT->send($RCMAIL->task); -- cgit v1.2.3