summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-17 09:13:54 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-17 09:13:54 +0200
commitf32d97750c33942db53a56d1deceacb2ed3e779b (patch)
treef5dd8027c07dab03f6364764de52e3efcf637f0a /lib
parent852cc6f2c643fa5f84c48b3bea84783512324129 (diff)
parent1d30efdd73a2f2c94ecb0bdd460d0aa72a09923d (diff)
downloadnextcloud-server-f32d97750c33942db53a56d1deceacb2ed3e779b.tar.gz
nextcloud-server-f32d97750c33942db53a56d1deceacb2ed3e779b.zip
Merge pull request #15679 from owncloud/fix-private-member-access
Fix private member access of parent class in ocsresponse
Diffstat (limited to 'lib')
-rw-r--r--lib/public/appframework/http/ocsresponse.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/public/appframework/http/ocsresponse.php b/lib/public/appframework/http/ocsresponse.php
index c098e306656..52d3c2fa665 100644
--- a/lib/public/appframework/http/ocsresponse.php
+++ b/lib/public/appframework/http/ocsresponse.php
@@ -66,7 +66,7 @@ class OCSResponse extends Response {
$dimension=-1, $itemscount='',
$itemsperpage='') {
$this->format = $format;
- $this->status = $status;
+ $this->setStatus($status);
$this->statuscode = $statuscode;
$this->message = $message;
$this->data = $data;
@@ -94,7 +94,7 @@ class OCSResponse extends Response {
*/
public function render() {
return OC_OCS::generateXml(
- $this->format, $this->status, $this->statuscode, $this->message,
+ $this->format, $this->getStatus(), $this->statuscode, $this->message,
$this->data, $this->tag, $this->tagattribute, $this->dimension,
$this->itemscount, $this->itemsperpage
);