summaryrefslogtreecommitdiff
path: root/program/steps/mail
diff options
context:
space:
mode:
authorThomas Bruederli <thomas@roundcube.net>2014-01-20 11:41:58 +0100
committerThomas Bruederli <thomas@roundcube.net>2014-01-20 11:41:58 +0100
commit6884f3f1f7542eb1dab8bb39cab33888d3fd84c5 (patch)
tree3f659b305ab0e4ed8a1ee26880a85e4e15a71d6f /program/steps/mail
parent6f170902580c8cef342c0c65df1b98cbd293a79d (diff)
Re-submit search query when switching folders
Diffstat (limited to 'program/steps/mail')
-rw-r--r--program/steps/mail/search.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/program/steps/mail/search.inc b/program/steps/mail/search.inc
index 88bbe6eda..51dab7dc4 100644
--- a/program/steps/mail/search.inc
+++ b/program/steps/mail/search.inc
@@ -21,6 +21,8 @@
$REMOTE_REQUEST = TRUE;
+@set_time_limit(170); // extend default max_execution_time to ~3 minutes
+
// reset list_page and old search results
$RCMAIL->storage->set_page(1);
$RCMAIL->storage->set_search_set(NULL);