summaryrefslogtreecommitdiffstats
path: root/settings/ajax/disableapp.php
blob: cc00698870702faf8482361dbc52c83fd0f8f4c5 (plain)
1
2
3
4
5
6
7
8
9
10
<?php
// Init owncloud
require_once('../../lib/base.php');
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
OC_JSON::setContentTypeHeader();

OC_App::disable($_POST['appid']);

OC_JSON::success();