Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Karlitschek <frank@owncloud.org>2012-05-03 12:46:27 +0400
committerFrank Karlitschek <frank@owncloud.org>2012-05-03 12:46:27 +0400
commit351740601a81558843a92670ad113a61f6e2f1be (patch)
tree1fab36790b5cafe288a0c37ddcf517ab6ae07aa1 /apps/calendar
parent80dff77b659d843994255509fe2f3204e2b6193e (diff)
port oc_response
Diffstat (limited to 'apps/calendar')
-rwxr-xr-xapps/calendar/lib/app.php4
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));