Fix loading remote calendars from day/week views (Bug #9222).
authorJan Schneider <jan@horde.org>
Fri, 24 Sep 2010 16:36:48 +0000 (18:36 +0200)
committerJan Schneider <jan@horde.org>
Fri, 24 Sep 2010 16:37:02 +0000 (18:37 +0200)
kronolith/lib/View/Day.php
kronolith/lib/View/Week.php

index 4e1815f..fff05fa 100644 (file)
@@ -42,9 +42,7 @@ class Kronolith_View_Day extends Kronolith_Day {
                     $this,
                     new Horde_Date(array('year' => $this->year,
                                          'month' => $this->month,
-                                         'mday' => $this->mday)),
-                    $GLOBALS['display_calendars'],
-                    true, false, false);
+                                         'mday' => $this->mday)));
                 $this->_events = array_shift($events);
             } catch (Exception $e) {
                 $GLOBALS['notification']->push($e, 'horde.error');
index 2917720..4f5575f 100644 (file)
@@ -70,9 +70,7 @@ class Kronolith_View_Week {
         }
         $endDate = new Horde_Date($day);
         try {
-            $allevents = Kronolith::listEvents($this->startDate, $endDate,
-                                               $GLOBALS['display_calendars'],
-                                               true, false, false);
+            $allevents = Kronolith::listEvents($this->startDate, $endDate);
         } catch (Exception $e) {
             $GLOBALS['notification']->push($e, 'horde.error');
             $allevents = array();