From: Jan Schneider Date: Fri, 20 Nov 2009 16:23:18 +0000 (+0100) Subject: No longer necessary. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=1b5effa0ef4806bfa7d8114b7b49aaa0cf90e477;p=horde.git No longer necessary. --- diff --git a/framework/Notification/lib/Horde/Notification/Listener.php b/framework/Notification/lib/Horde/Notification/Listener.php index b9ff0a1a7..7708561fd 100644 --- a/framework/Notification/lib/Horde/Notification/Listener.php +++ b/framework/Notification/lib/Horde/Notification/Listener.php @@ -75,15 +75,10 @@ abstract class Horde_Notification_Listener */ public function getEvent($message) { - $ob = false; - if (class_exists($message['class'])) { - $ob = @unserialize($message['event']); - } else { - $ob = @unserialize($message['event']); - if (!is_callable(array($ob, 'getMessage'))) { - if (isset($ob->_message)) { - $ob = new Horde_Notification_Event($ob->_message); - } + $ob = @unserialize($message['event']); + if (!is_callable(array($ob, 'getMessage'))) { + if (isset($ob->_message)) { + $ob = new Horde_Notification_Event($ob->_message); } }