2012-04-18 13:50:12 +04:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* Copyright (c) 2012 Georg Ehrke <ownclouddev@georgswebsite.de>
|
|
|
|
* This file is licensed under the Affero General Public License version 3 or
|
|
|
|
* later.
|
|
|
|
* See the COPYING-README file.
|
|
|
|
*/
|
|
|
|
require_once('../../../../lib/base.php');
|
|
|
|
$id = strip_tags($_GET['id']);
|
|
|
|
$activation = strip_tags($_GET['activation']);
|
2012-05-01 20:50:31 +04:00
|
|
|
OC_Calendar_Share::set_active(OCP\USER::getUser(), $id, $activation);
|
2012-04-18 13:50:12 +04:00
|
|
|
OC_JSON::success();
|