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

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

OC_JSON::success();