Initialize the registry before the notification system the latter needs the registry.
authorGunnar Wrobel <p@rdus.de>
Fri, 26 Jun 2009 08:25:46 +0000 (10:25 +0200)
committerGunnar Wrobel <p@rdus.de>
Fri, 26 Jun 2009 08:25:46 +0000 (10:25 +0200)
koward/lib/Koward.php

index c6bafc6..5c59086 100644 (file)
@@ -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();