From 35575ee26f507950355ef10e944b951a11fb3521 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Fri, 24 Sep 2010 18:36:48 +0200 Subject: [PATCH] Fix loading remote calendars from day/week views (Bug #9222). --- kronolith/lib/View/Day.php | 4 +--- kronolith/lib/View/Week.php | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/kronolith/lib/View/Day.php b/kronolith/lib/View/Day.php index 4e1815fac..fff05fa06 100644 --- a/kronolith/lib/View/Day.php +++ b/kronolith/lib/View/Day.php @@ -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'); diff --git a/kronolith/lib/View/Week.php b/kronolith/lib/View/Week.php index 291772051..4f5575f40 100644 --- a/kronolith/lib/View/Week.php +++ b/kronolith/lib/View/Week.php @@ -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(); -- 2.11.0