mirror of
https://github.com/nextcloud/server.git
synced 2026-02-27 12:00:39 -05:00
`OC_JSON::success` and `OC_JSON::error` are calling `OC_JSON::encodedPrint`, which already sets these headers. So this two calls are uneeded duplicates.
7 lines
112 B
PHP
7 lines
112 B
PHP
<?php
|
|
OC_JSON::checkAdminUser();
|
|
OCP\JSON::callCheck();
|
|
|
|
OC_App::disable($_POST['appid']);
|
|
|
|
OC_JSON::success();
|