server/settings/ajax/disableapp.php

11 lines
198 B
PHP
Raw Normal View History

<?php
// Init owncloud
require_once('../../lib/base.php');
2011-09-30 21:10:08 +00:00
OC_JSON::checkAdminUser();
2012-07-07 13:27:04 +00:00
OCP\JSON::callCheck();
OC_JSON::setContentTypeHeader();
2011-07-29 19:36:03 +00:00
OC_App::disable($_POST['appid']);
OC_JSON::success();