server/settings/ajax/disableapp.php

8 lines
132 B
PHP
Raw Normal View History

<?php
2011-09-30 21:10:08 +00:00
OC_JSON::checkAdminUser();
2012-07-20 18:39:20 +00:00
OCP\JSON::callCheck();
OC_App::disable(OC_App::cleanAppId($_POST['appid']));
OC_JSON::success();