mirror of
https://github.com/nextcloud/server.git
synced 2026-06-06 23:34:22 -04:00
Return 404 on v2.php when the app is disabled
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
26f1745fb9
commit
78210c8300
1 changed files with 1 additions and 1 deletions
|
|
@ -37,7 +37,7 @@ class OC_OCS {
|
|||
$format = \OC::$server->getRequest()->getParam('format', 'xml');
|
||||
$txt='Invalid query, please check the syntax. API specifications are here:'
|
||||
.' http://www.freedesktop.org/wiki/Specifications/open-collaboration-services. DEBUG OUTPUT:'."\n";
|
||||
OC_API::respond(new OC_OCS_Result(null, API::RESPOND_UNKNOWN_ERROR, $txt), $format);
|
||||
OC_API::respond(new OC_OCS_Result(null, API::RESPOND_NOT_FOUND, $txt), $format);
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue