summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-08-03 22:19:04 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-08-03 22:19:04 +0200
commit3ecf7fce79798a368ee16cb5dc5404ba16752f56 (patch)
treede775112a5889970d9f7fdeeb16c0a02a67001e0 /lib
parent649cc2fa898968b78e249d594e846c84c3695d8d (diff)
downloadnextcloud-server-3ecf7fce79798a368ee16cb5dc5404ba16752f56.tar.gz
nextcloud-server-3ecf7fce79798a368ee16cb5dc5404ba16752f56.zip
Fix unit test within OCSController
Diffstat (limited to 'lib')
-rw-r--r--lib/public/appframework/ocscontroller.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/public/appframework/ocscontroller.php b/lib/public/appframework/ocscontroller.php
index aa71fd8f85f..55ba518020a 100644
--- a/lib/public/appframework/ocscontroller.php
+++ b/lib/public/appframework/ocscontroller.php
@@ -80,7 +80,6 @@ abstract class OCSController extends ApiController {
}
$params = [
- 'status' => 'OK',
'statuscode' => 100,
'message' => 'OK',
'data' => [],
@@ -93,7 +92,7 @@ abstract class OCSController extends ApiController {
}
return new OCSResponse(
- $format, $params['status'], $params['statuscode'],
+ $format, $params['statuscode'],
$params['message'], $params['data'],
$params['itemscount'], $params['itemsperpage']
);