summaryrefslogtreecommitdiffstats
path: root/lib/api.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/api.php')
-rw-r--r--lib/api.php2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/api.php b/lib/api.php
index d50882b1190..8fa4d764abf 100644
--- a/lib/api.php
+++ b/lib/api.php
@@ -117,7 +117,6 @@ class OC_API {
'response' => call_user_func($action['action'], $parameters),
);
}
-
$response = self::mergeResponses($responses);
$formats = array('json', 'xml');
$format = !empty($_GET['format']) && in_array($_GET['format'], $formats) ? $_GET['format'] : 'xml';
@@ -249,7 +248,6 @@ class OC_API {
*/
private static function respond($result, $format='xml') {
// Send 401 headers if unauthorised
- die(var_dump($result));
if($result->getStatusCode() === self::RESPOND_UNAUTHORISED) {
header('WWW-Authenticate: Basic realm="Authorisation Required"');
header('HTTP/1.0 401 Unauthorized');