server/settings/ajax/disableapp.php
2012-09-05 23:28:59 +02:00

10 lines
197 B
PHP

<?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();