server/settings/ajax/disableapp.php
2011-09-30 23:17:30 +02:00

9 lines
158 B
PHP

<?php
// Init owncloud
require_once('../../lib/base.php');
OC_JSON::checkAdminUser();
OC_JSON::setContentTypeHeader();
OC_App::disable($_POST['appid']);
?>