forked from extern/egroupware
"using egw_session::session_list()"
This commit is contained in:
parent
5447cd6a6d
commit
e2f72dcc70
@ -104,7 +104,7 @@ class notifications_popup implements notifications_iface {
|
|||||||
* @param array $_attachments
|
* @param array $_attachments
|
||||||
*/
|
*/
|
||||||
public function send(array $_messages, $_subject = false, $_links = false, $_attachments = false) {
|
public function send(array $_messages, $_subject = false, $_links = false, $_attachments = false) {
|
||||||
$sessions = $GLOBALS['egw']->session->list_sessions(0, 'asc', 'session_dla', true);
|
$sessions = egw_session::session_list(0, 'asc', 'session_dla');
|
||||||
$user_sessions = array();
|
$user_sessions = array();
|
||||||
foreach ($sessions as $session) {
|
foreach ($sessions as $session) {
|
||||||
if ($session['session_lid'] == $this->recipient->account_lid. '@'. $GLOBALS['egw_info']['user']['domain']) {
|
if ($session['session_lid'] == $this->recipient->account_lid. '@'. $GLOBALS['egw_info']['user']['domain']) {
|
||||||
|
Loading…
Reference in New Issue
Block a user