Revert "Be prepared to add new calendars, if we don't have any yet."
authorJan Schneider <jan@horde.org>
Mon, 3 May 2010 16:01:29 +0000 (18:01 +0200)
committerJan Schneider <jan@horde.org>
Mon, 3 May 2010 16:38:03 +0000 (18:38 +0200)
This reverts commit 9b75377d5f06284068dd76d094b95e481231d27a.

kronolith/lib/Kronolith.php

index 23e37b9..11bcf2c 100644 (file)
@@ -244,9 +244,6 @@ class Kronolith
         $subscriptionTasks = Horde::url($registry->get('webroot', 'horde') . ($GLOBALS['conf']['urls']['pretty'] == 'rewrite' ? '/rpc/nag/' : '/rpc.php/nag/'), true, -1);
 
         // Calendars
-        $code['conf']['calendars']['internal'] =
-            $code['conf']['calendars']['tasklists'] =
-            $code['conf']['calendars']['remote'] = array();
         foreach (array(true, false) as $my) {
             foreach ($GLOBALS['all_calendars'] as $id => $calendar) {
                 if ($calendar->get('owner') != Horde_Auth::getAuth() &&