diff options
author | Bart Visscher <bartv@thisnet.nl> | 2011-09-15 10:14:47 +0200 |
---|---|---|
committer | Bart Visscher <bartv@thisnet.nl> | 2011-09-16 00:19:43 +0200 |
commit | 388b14604a12d5f86438a92818da896cb46709d3 (patch) | |
tree | 7f828bda059ab6c8318c940ad5c53abc0df3b915 /apps/calendar/export.php | |
parent | d3ee19e6751a76b3928ff694b006cdf39763e162 (diff) | |
download | nextcloud-server-388b14604a12d5f86438a92818da896cb46709d3.tar.gz nextcloud-server-388b14604a12d5f86438a92818da896cb46709d3.zip |
Move Calendar Object code to its own class OC_Calendar_Object
Diffstat (limited to 'apps/calendar/export.php')
-rw-r--r-- | apps/calendar/export.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/export.php b/apps/calendar/export.php index 3ed7ba0445e..f03a5d23e68 100644 --- a/apps/calendar/export.php +++ b/apps/calendar/export.php @@ -28,10 +28,10 @@ if($calendar["userid"] != OC_User::getUser()){ header("Location: " . OC_HELPER::linkTo("", "index.php")); exit; } -$calobjects = OC_Calendar_Calendar::allCalendarObjects($cal); +$calobjects = OC_Calendar_Object::all($cal); header("Content-Type: text/Calendar"); header("Content-Disposition: inline; filename=calendar.ics"); for($i = 0;$i <= count($calobjects); $i++){ echo $calobjects[$i]["calendardata"] . "\n"; } -?>
\ No newline at end of file +?> |