nextcloud/settings/ajax/disableapp.php

9 lines
149 B
PHP

<?php
// Init owncloud
require_once('../../lib/base.php');
header( "Content-Type: application/jsonrequest" );
OC_App::disable($_POST['appid']);
?>