'driver' can be null but Horde_Alarm will use default sql values.
authorMichael M Slusarz <slusarz@curecanti.org>
Thu, 11 Feb 2010 17:36:01 +0000 (10:36 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 11 Feb 2010 17:40:23 +0000 (10:40 -0700)
framework/Notification/lib/Horde/Notification.php

index 6b0b1bb..976a824 100644 (file)
@@ -39,11 +39,8 @@ class Horde_Notification
 
             $handler = new Horde_Notification_Handler_Base($storage);
             $handler = new Horde_Notification_Handler_Decorator_Hordelog($handler);
-            if (!empty($GLOBALS['conf']['alarms']['driver'])) {
-                $handler = new Horde_Notification_Handler_Decorator_Alarm(
-                    $handler, Horde_Alarm::factory()
-                );
-            }
+            $handler = new Horde_Notification_Handler_Decorator_Alarm($handler, Horde_Alarm::factory());
+
             self::$_instances[$stack] = $handler;
         }