nextcloud/settings/ajax/disableapp.php

11 lines
198 B
PHP
Raw Normal View History

<?php
// Init owncloud
require_once('../../lib/base.php');
2011-10-01 01:10:08 +04:00
OC_JSON::checkAdminUser();
2012-07-20 22:39:20 +04:00
OCP\JSON::callCheck();
OC_JSON::setContentTypeHeader();
2011-07-29 23:36:03 +04:00
OC_App::disable($_POST['appid']);
OC_JSON::success();