summaryrefslogtreecommitdiffstats
path: root/apps/calendar
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-05-19 15:05:30 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-05-19 15:05:58 +0200
commit07fa8da2785c8846133fc756bec85e329a888537 (patch)
tree3ff62786c7be0648c306e9f7399e29ff7618dd1b /apps/calendar
parent7e49a33d6467ab0cc5efdceffd4204cffa281bd1 (diff)
downloadnextcloud-server-07fa8da2785c8846133fc756bec85e329a888537.tar.gz
nextcloud-server-07fa8da2785c8846133fc756bec85e329a888537.zip
fix for calendar
Diffstat (limited to 'apps/calendar')
-rw-r--r--apps/calendar/ajax/share/activation.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/calendar/ajax/share/activation.php b/apps/calendar/ajax/share/activation.php
index 5526e5230f4..7d6b8fcb16e 100644
--- a/apps/calendar/ajax/share/activation.php
+++ b/apps/calendar/ajax/share/activation.php
@@ -5,8 +5,7 @@
* later.
* See the COPYING-README file.
*/
-require_once('../../../../lib/base.php');
$id = strip_tags($_GET['id']);
$activation = strip_tags($_GET['activation']);
OC_Calendar_Share::set_active(OCP\USER::getUser(), $id, $activation);
-OCP\JSON::success(); \ No newline at end of file
+OCP\JSON::success();