From 3e76a786ef6dda262954d25d5f9327911a9ed584 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Thu, 11 Feb 2010 10:36:01 -0700 Subject: [PATCH] 'driver' can be null but Horde_Alarm will use default sql values. --- framework/Notification/lib/Horde/Notification.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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; } -- 2.11.0