nextcloud/apps/calendar/ajax/share/activation.php

12 lines
370 B
PHP
Raw Normal View History

<?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.
*/
2012-06-09 16:40:15 +04:00
$id = strip_tags($_POST['id']);
$activation = strip_tags($_POST['activation']);
2012-05-01 20:50:31 +04:00
OC_Calendar_Share::set_active(OCP\USER::getUser(), $id, $activation);
2012-05-19 17:05:30 +04:00
OCP\JSON::success();