Welcome to mirror list, hosted at ThFree Co, Russian Federation.

activation.php « share « ajax « calendar « apps - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: bce8693577bace086e2d856050b22a9f6b994bf6 (plain)
1
2
3
4
5
6
7
8
9
10
11
<?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($_POST['id']);
$activation = strip_tags($_POST['activation']);
OC_Calendar_Share::set_active(OCP\USER::getUser(), $id, $activation);
OCP\JSON::success();