From: Gunnar Wrobel
Date: Fri, 26 Jun 2009 08:25:46 +0000 (+0200) Subject: Initialize the registry before the notification system the latter needs the registry. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=856f71bb74f34b9e5a17a9827a20ff450679ba00;p=horde.git Initialize the registry before the notification system the latter needs the registry. --- diff --git a/koward/lib/Koward.php b/koward/lib/Koward.php index c6bafc61c..5c5908633 100644 --- a/koward/lib/Koward.php +++ b/koward/lib/Koward.php @@ -58,11 +58,11 @@ class Koward { include_once 'Horde/Perms.php'; include_once 'Horde/Registry.php'; + $registry = Registry::singleton(); + $notification = &Horde_Notification::singleton(); $notification->attach('status'); - $registry = Registry::singleton(); - /* Browser detection object. */ if (class_exists('Horde_Browser')) { $browser = Horde_Browser::singleton();