mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-23 07:09:20 +01:00
* Notifications/all apps: do not block other requests while notifications are queried
by committing the session
This commit is contained in:
parent
f42a218e1e
commit
6e5bcbd6dd
@ -109,7 +109,11 @@ class notifications_ajax {
|
||||
*
|
||||
* @return xajax response
|
||||
*/
|
||||
public function get_notifications($browserNotify = false) {
|
||||
public function get_notifications($browserNotify = false)
|
||||
{
|
||||
// close session now, to not block other user actions, as specially mail checks can be time consuming
|
||||
$GLOBALS['egw']->session->commit_session();
|
||||
|
||||
// call a hook for notifications on new mail
|
||||
//if ($GLOBALS['egw_info']['user']['apps']['mail']) $this->check_mailbox();
|
||||
$GLOBALS['egw']->hooks->process('check_notify');
|
||||
|
Loading…
Reference in New Issue
Block a user