summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/Http/OCSResponse.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/public/AppFramework/Http/OCSResponse.php')
-rw-r--r--lib/public/AppFramework/Http/OCSResponse.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/public/AppFramework/Http/OCSResponse.php b/lib/public/AppFramework/Http/OCSResponse.php
index 3480aa172ff..5f56913a45a 100644
--- a/lib/public/AppFramework/Http/OCSResponse.php
+++ b/lib/public/AppFramework/Http/OCSResponse.php
@@ -59,6 +59,8 @@ class OCSResponse extends Response {
public function __construct($format, $statuscode, $message,
$data=[], $itemscount='',
$itemsperpage='') {
+ parent::__construct();
+
$this->format = $format;
$this->statuscode = $statuscode;
$this->message = $message;