Skip to content
Snippets Groups Projects
Commit 07fa8da2 authored by Georg Ehrke's avatar Georg Ehrke
Browse files

fix for calendar

parent 7e49a33d
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,7 @@ ...@@ -5,8 +5,7 @@
* later. * later.
* See the COPYING-README file. * See the COPYING-README file.
*/ */
require_once('../../../../lib/base.php');
$id = strip_tags($_GET['id']); $id = strip_tags($_GET['id']);
$activation = strip_tags($_GET['activation']); $activation = strip_tags($_GET['activation']);
OC_Calendar_Share::set_active(OCP\USER::getUser(), $id, $activation); OC_Calendar_Share::set_active(OCP\USER::getUser(), $id, $activation);
OCP\JSON::success(); OCP\JSON::success();
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment