fix for calendar

This commit is contained in:
Georg Ehrke 2012-05-19 15:05:30 +02:00
parent 7e49a33d64
commit 07fa8da278
1 changed files with 1 additions and 2 deletions

View File

@ -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();
OCP\JSON::success();