summaryrefslogtreecommitdiffstats
path: root/apps/calendar/lib
diff options
context:
space:
mode:
authorBart Visscher <bartv@thisnet.nl>2012-03-01 20:56:51 +0100
committerBart Visscher <bartv@thisnet.nl>2012-03-01 21:00:23 +0100
commit5dcd9e20d03f089408ada52e3ea5462c88bf191a (patch)
treee71703b7856eb6d81bb73361d32a5629c92c687b /apps/calendar/lib
parentec2f49833da5c1fdb54d63c4ec05b7309c4e3c68 (diff)
downloadnextcloud-server-5dcd9e20d03f089408ada52e3ea5462c88bf191a.tar.gz
nextcloud-server-5dcd9e20d03f089408ada52e3ea5462c88bf191a.zip
Small cleanups
Diffstat (limited to 'apps/calendar/lib')
-rw-r--r--apps/calendar/lib/calendar.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/calendar/lib/calendar.php b/apps/calendar/lib/calendar.php
index 277539af97d..7eeb004d181 100644
--- a/apps/calendar/lib/calendar.php
+++ b/apps/calendar/lib/calendar.php
@@ -240,9 +240,10 @@ class OC_Calendar_Calendar{
'#9fc6e7', // "light blue"
);
}
+
public static function getEventSourceInfo($calendar){
return array(
- 'url' => 'ajax/events.php?calendar_id='.$calendar['id'],
+ 'url' => OC_Helper::linkTo('calendar', 'ajax/events.php').'?calendar_id='.$calendar['id'],
'backgroundColor' => $calendar['calendarcolor'],
'borderColor' => '#888',
'textColor' => 'black',