summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2013-10-21 16:03:03 +0200
committerThomas Bruederli <thomas@roundcube.net>2013-10-21 16:03:03 +0200
commitb461a2d72ea1fa2f7488710e5c5329848adf43fd (patch)
treecec67c1e1a3dbf9d8d26035aac0f0f70e0326da9 /index.php
parenta649e0488a8913f73443390703692e96767ab871 (diff)
Send last fetch time with 'refresh' requests and allow plugins to alter query parameters of http requests
Diffstat (limited to 'index.php')
-rw-r--r--index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.php b/index.php
index 3be71f249..1719abc48 100644
--- a/index.php
+++ b/index.php
@@ -294,7 +294,7 @@ while ($redirects < 5) {
}
if ($RCMAIL->action == 'refresh') {
- $RCMAIL->plugins->exec_hook('refresh', array());
+ $RCMAIL->plugins->exec_hook('refresh', array('last' => intval(rcube_utils::get_input_value('_last', rcube_utils::INPUT_GPC))));
}
// parse main template (default)