From: Georg Ehrke Date: Sat, 19 May 2012 13:05:30 +0000 (+0200) Subject: fix for calendar X-Git-Tag: v4.0.0~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=07fa8da2785c8846133fc756bec85e329a888537;p=nextcloud-server.git fix for calendar --- 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();