nextcloud/settings/ajax/disableapp.php
2012-04-18 17:49:50 +02:00

9 lines
175 B
PHP

<?php
// Init owncloud
require_once('../../lib/base.php');
OC_JSON::checkAdminUser();
OC_JSON::setContentTypeHeader();
OC_App::disable($_POST['appid']);
OC_JSON::success();