diff options
author | Aleksander Machniak <alec@alec.pl> | 2012-11-12 14:33:22 +0100 |
---|---|---|
committer | Aleksander Machniak <alec@alec.pl> | 2012-11-12 14:33:22 +0100 |
commit | a95687cfe8ede73033912848d445bb63257d850a (patch) | |
tree | 341f6f3aef2ba6031e4b22d3829d0c3611a04027 | |
parent | 92eb10e7732716beec8b227693d62cb9a79b9db6 (diff) |
Plugin API: Add 'refresh' hook
-rw-r--r-- | index.php | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |