diff options
author | Frank Karlitschek <frank@owncloud.org> | 2012-05-03 10:46:27 +0200 |
---|---|---|
committer | Frank Karlitschek <frank@owncloud.org> | 2012-05-03 10:46:27 +0200 |
commit | 351740601a81558843a92670ad113a61f6e2f1be (patch) | |
tree | 1fab36790b5cafe288a0c37ddcf517ab6ae07aa1 /apps/calendar/lib/app.php | |
parent | 80dff77b659d843994255509fe2f3204e2b6193e (diff) | |
download | nextcloud-server-351740601a81558843a92670ad113a61f6e2f1be.tar.gz nextcloud-server-351740601a81558843a92670ad113a61f6e2f1be.zip |
port oc_response
Diffstat (limited to 'apps/calendar/lib/app.php')
-rwxr-xr-x | apps/calendar/lib/app.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/lib/app.php b/apps/calendar/lib/app.php index f3e9bea86a3..8e2679a43f4 100755 --- a/apps/calendar/lib/app.php +++ b/apps/calendar/lib/app.php @@ -334,8 +334,8 @@ class OC_Calendar_App{ $calendar_id = $_GET['calendar_id']; if (is_numeric($calendar_id)) { $calendar = self::getCalendar($calendar_id); - OC_Response::enableCaching(0); - OC_Response::setETagHeader($calendar['ctag']); + OCP\Response::enableCaching(0); + OCP\Response::setETagHeader($calendar['ctag']); $events = OC_Calendar_Object::allInPeriod($calendar_id, $start, $end); } else { OC_Hook::emit('OC_Calendar', 'getEvents', array('calendar_id' => $calendar_id, 'events' => &$events)); |