"using egw_session::session_list()"

This commit is contained in:
Ralf Becker 2008-08-13 20:14:44 +00:00
parent 5447cd6a6d
commit e2f72dcc70

View File

@ -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']) {