From 83417962e94675fdf10148233d4c5f5395c10fb8 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Fri, 19 Oct 2018 11:48:53 +0200 Subject: [PATCH] release session to allow parallel requests to run --- calendar/inc/class.calendar_uilist.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/calendar/inc/class.calendar_uilist.inc.php b/calendar/inc/class.calendar_uilist.inc.php index 6e3ddb7d19..7fbf652835 100644 --- a/calendar/inc/class.calendar_uilist.inc.php +++ b/calendar/inc/class.calendar_uilist.inc.php @@ -13,7 +13,6 @@ use EGroupware\Api; use EGroupware\Api\Link; use EGroupware\Api\Framework; -use EGroupware\Api\Egw; use EGroupware\Api\Acl; use EGroupware\Api\Etemplate; @@ -284,6 +283,10 @@ class calendar_uilist extends calendar_ui Api\Cache::setSession('calendar', 'calendar_list', array_diff_key ($params, array_flip(array('rows', 'actions', 'action_links', 'placeholder_actions')))); } + + // release session to allow parallel requests to run + $GLOBALS['egw']->session->commit_session(); + // do we need to query custom fields and which // Check stored preference if selectcols isn't available (ie: first call) $select_cols = $params['selectcols'] ? $params['selectcols'] : $GLOBALS['egw_info']['user']['preferences']['calendar']['nextmatch-calendar.list.rows'];