Fix incorrect indentation

This commit is contained in:
Tom Needham 2013-01-16 20:29:29 +00:00
parent 098c84a29c
commit 358671ac1d
1 changed files with 2 additions and 2 deletions

View File

@ -94,8 +94,8 @@ class OC_API {
$response = new OC_OCS_Result(null, 998, 'Api method not found');
}
} else {
header('WWW-Authenticate: Basic realm="Authorisation Required"');
header('HTTP/1.0 401 Unauthorized');
header('WWW-Authenticate: Basic realm="Authorisation Required"');
header('HTTP/1.0 401 Unauthorized');
$response = new OC_OCS_Result(null, 997, 'Unauthorised');
}
// Send the response