Revert "don't try and fetch alarms for all users when no one is logged in"
authorChuck Hagenbuch <chuck@horde.org>
Fri, 24 Jul 2009 17:40:44 +0000 (13:40 -0400)
committerChuck Hagenbuch <chuck@horde.org>
Fri, 24 Jul 2009 17:40:44 +0000 (13:40 -0400)
This reverts commit c0f24e840cdb842acc337e2c26d07ed36dfef1af.

framework/Notification/lib/Horde/Notification.php

index e608146..a45e50c 100644 (file)
@@ -204,7 +204,7 @@ class Horde_Notification
 
         $options['listeners'] = array_map('strtolower', $options['listeners']);
 
-        if ($this->_alarm && Horde_Auth::getAuth() && in_array('status', $options['listeners'])) {
+        if ($this->_alarm && in_array('status', $options['listeners'])) {
             $this->_alarm->notify(Horde_Auth::getAuth());
         }