mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-22 07:53:39 +01:00
Admin: release session in get_(users|groups) to allow parallel requests to run for
This commit is contained in:
parent
6113114b4c
commit
8fbcb8788e
@ -74,7 +74,6 @@ class admin_ui
|
||||
'placeholder_actions' => array('add')
|
||||
);
|
||||
|
||||
//$content['msg'] = 'Hi Ralf ;-)';
|
||||
$sel_options['tree'] = $this->tree_data();
|
||||
$sel_options['filter'] = array('' => lang('All groups'));
|
||||
foreach(self::$accounts->search(array(
|
||||
@ -326,6 +325,9 @@ class admin_ui
|
||||
*/
|
||||
public static function get_users(array $query, array &$rows=null)
|
||||
{
|
||||
// release session to allow parallel requests to run
|
||||
$GLOBALS['egw']->session->commit_session();
|
||||
|
||||
$params = array(
|
||||
'type' => (int)$query['filter'] ? (int)$query['filter'] : 'accounts',
|
||||
'start' => $query['start'],
|
||||
@ -432,6 +434,9 @@ class admin_ui
|
||||
*/
|
||||
public static function get_groups(&$query, &$rows)
|
||||
{
|
||||
// release session to allow parallel requests to run
|
||||
$GLOBALS['egw']->session->commit_session();
|
||||
|
||||
$groups = $GLOBALS['egw']->accounts->search(array(
|
||||
'type' => 'groups',
|
||||
'query' => $query['search'],
|
||||
|
Loading…
Reference in New Issue
Block a user