server/settings/ajax/disableapp.php
2012-10-02 18:00:23 +02:00

8 lines
145 B
PHP

<?php
OC_JSON::checkAdminUser();
OCP\JSON::callCheck();
OC_JSON::setContentTypeHeader();
OC_App::disable($_POST['appid']);
OC_JSON::success();