12 lines
368 B
PHP
12 lines
368 B
PHP
<?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.
|
|
*/
|
|
$id = strip_tags($_GET['id']);
|
|
$activation = strip_tags($_GET['activation']);
|
|
OC_Calendar_Share::set_active(OCP\USER::getUser(), $id, $activation);
|
|
OCP\JSON::success();
|