summaryrefslogtreecommitdiffstats
path: root/lib/public/appframework/ocscontroller.php
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-08-03 21:03:11 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-08-03 21:03:11 +0200
commit649cc2fa898968b78e249d594e846c84c3695d8d (patch)
tree69d42f0eabaf11ce18ad14acd223553c424c93db /lib/public/appframework/ocscontroller.php
parentcd1bfd7eb67e95d5fcd3336b8a4d4109459f27d4 (diff)
downloadnextcloud-server-649cc2fa898968b78e249d594e846c84c3695d8d.tar.gz
nextcloud-server-649cc2fa898968b78e249d594e846c84c3695d8d.zip
Remove duplicate and unused code
Diffstat (limited to 'lib/public/appframework/ocscontroller.php')
-rw-r--r--lib/public/appframework/ocscontroller.php8
1 files changed, 2 insertions, 6 deletions
diff --git a/lib/public/appframework/ocscontroller.php b/lib/public/appframework/ocscontroller.php
index 602731fe761..aa71fd8f85f 100644
--- a/lib/public/appframework/ocscontroller.php
+++ b/lib/public/appframework/ocscontroller.php
@@ -42,7 +42,7 @@ abstract class OCSController extends ApiController {
* constructor of the controller
* @param string $appName the name of the app
* @param IRequest $request an instance of the request
- * @param string $corsMethods comma seperated string of HTTP verbs which
+ * @param string $corsMethods comma separated string of HTTP verbs which
* should be allowed for websites or webapps when calling your API, defaults to
* 'PUT, POST, GET, DELETE, PATCH'
* @param string $corsAllowedHeaders comma seperated string of HTTP headers
@@ -84,9 +84,6 @@ abstract class OCSController extends ApiController {
'statuscode' => 100,
'message' => 'OK',
'data' => [],
- 'tag' => '',
- 'tagattribute' => '',
- 'dimension' => 'dynamic',
'itemscount' => '',
'itemsperpage' => ''
];
@@ -97,8 +94,7 @@ abstract class OCSController extends ApiController {
return new OCSResponse(
$format, $params['status'], $params['statuscode'],
- $params['message'], $params['data'], $params['tag'],
- $params['tagattribute'], $params['dimension'],
+ $params['message'], $params['data'],
$params['itemscount'], $params['itemsperpage']
);
}