mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
Merge pull request #1155 from owncloud/remove-setContentTypeHeader
Remove setContentTypeHeader()
This commit is contained in:
commit
b6e0842f4c
2 changed files with 0 additions and 2 deletions
|
|
@ -1,7 +1,6 @@
|
|||
<?php
|
||||
OC_JSON::checkAdminUser();
|
||||
OCP\JSON::callCheck();
|
||||
OC_JSON::setContentTypeHeader();
|
||||
|
||||
OC_App::disable($_POST['appid']);
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
OC_JSON::checkAdminUser();
|
||||
OCP\JSON::callCheck();
|
||||
OC_JSON::setContentTypeHeader();
|
||||
|
||||
$appid = OC_App::enable($_POST['appid']);
|
||||
if($appid !== false) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue