aboutsummaryrefslogtreecommitdiffstats
path: root/apps/calendar/index.php
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2011-10-19 19:07:56 +0200
committerBart Visscher <bartv@thisnet.nl>2011-10-20 23:49:28 +0200
commit2269f74c27b7de6a4fb2bba9a77ffc3b54ab3ee0 (patch)
treee08a7367a7b8e25be00a16e664f84be4cad00033 /apps/calendar/index.php
parent3d8a1ccb3f34eae204d3a3154c4e55d40ebc24f8 (diff)
downloadnextcloud-server-2269f74c27b7de6a4fb2bba9a77ffc3b54ab3ee0.tar.gz
nextcloud-server-2269f74c27b7de6a4fb2bba9a77ffc3b54ab3ee0.zip
Fix changing calendar data
Diffstat (limited to 'apps/calendar/index.php')
-rw-r--r--apps/calendar/index.php7
1 files changed, 1 insertions, 6 deletions
diff --git a/apps/calendar/index.php b/apps/calendar/index.php
index c01410e3718..eba04100ce6 100644
--- a/apps/calendar/index.php
+++ b/apps/calendar/index.php
@@ -17,12 +17,7 @@ if( count($calendars) == 0){
}
$eventSources = array();
foreach($calendars as $calendar){
- $eventSources[] = array(
- 'url' => 'ajax/events.php?calendar_id='.$calendar['id'],
- 'backgroundColor' => '#'.$calendar['calendarcolor'],
- 'borderColor' => '#888',
- 'textColor' => 'black',
- );
+ $eventSources[] = OC_Calendar_Calendar::getEventSourceInfo($calendar);
}
OC_Util::addScript('calendar', 'calendar');
OC_Util::addStyle('calendar', 'style');