nextcloud/settings/ajax/disableapp.php

11 lines
198 B
PHP

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