Group:: is not autoloadable yet.
authorJan Schneider <jan@horde.org>
Mon, 31 May 2010 13:10:25 +0000 (15:10 +0200)
committerJan Schneider <jan@horde.org>
Mon, 31 May 2010 16:22:31 +0000 (18:22 +0200)
framework/Ajax/lib/Horde/Ajax/Application/Base.php
kronolith/templates/chunks/calendar.php

index 1ee2e2a..f953604 100644 (file)
@@ -134,6 +134,7 @@ abstract class Horde_Ajax_Application_Base
     public function listGroups()
     {
         $result = new stdClass;
+        require_once 'Horde/Group.php';
         $horde_groups = Group::singleton();
         if (!empty($GLOBALS['conf']['share']['any_group'])) {
             $groups = $horde_groups->listGroups();
index eea134a..77807b2 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 $auth = Horde_Auth::singleton($GLOBALS['conf']['auth']['driver']);
+require_once 'Horde/Group.php';
 $horde_groups = Group::singleton();
 if (!empty($GLOBALS['conf']['share']['any_group'])) {
     $groups = $horde_groups->listGroups();