1 2 3 4 5 6 7 8 9
<?php // Init owncloud OC_JSON::checkAdminUser(); OC_JSON::setContentTypeHeader(); OC_App::disable($_POST['appid']); OC_JSON::success();