From 856f71bb74f34b9e5a17a9827a20ff450679ba00 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel Date: Fri, 26 Jun 2009 10:25:46 +0200 Subject: [PATCH] Initialize the registry before the notification system the latter needs the registry. --- koward/lib/Koward.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(); -- 2.11.0