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

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

OC_JSON::success();