From b461a2d72ea1fa2f7488710e5c5329848adf43fd Mon Sep 17 00:00:00 2001 From: Thomas Bruederli Date: Mon, 21 Oct 2013 16:03:03 +0200 Subject: Send last fetch time with 'refresh' requests and allow plugins to alter query parameters of http requests --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') 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) -- cgit v1.2.3