From: Michael M Slusarz Date: Thu, 11 Feb 2010 17:36:01 +0000 (-0700) Subject: 'driver' can be null but Horde_Alarm will use default sql values. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=3e76a786ef6dda262954d25d5f9327911a9ed584;p=horde.git 'driver' can be null but Horde_Alarm will use default sql values. --- diff --git a/framework/Notification/lib/Horde/Notification.php b/framework/Notification/lib/Horde/Notification.php index 6b0b1bbfb..976a8244d 100644 --- a/framework/Notification/lib/Horde/Notification.php +++ b/framework/Notification/lib/Horde/Notification.php @@ -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; }