summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorAleksander Machniak <alec@alec.pl>2012-11-12 14:33:22 +0100
committerAleksander Machniak <alec@alec.pl>2012-11-12 14:33:22 +0100
commita95687cfe8ede73033912848d445bb63257d850a (patch)
tree341f6f3aef2ba6031e4b22d3829d0c3611a04027 /index.php
parent92eb10e7732716beec8b227693d62cb9a79b9db6 (diff)
Plugin API: Add 'refresh' hook
Diffstat (limited to 'index.php')
-rw-r--r--index.php3
1 files changed, 3 insertions, 0 deletions
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);