summaryrefslogtreecommitdiffstats
path: root/settings/ajax/disableapp.php
blob: a39b06b9c7d6ffa27287cf6c005cf7f57e9c7b44 (plain)
1
2
3
4
5
6
7
8
<?php
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
OC_JSON::setContentTypeHeader();

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

OC_JSON::success();