summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2015-04-16 16:54:01 +0200
committerMorris Jobke <hey@morrisjobke.de>2015-04-16 16:54:01 +0200
commit1d30efdd73a2f2c94ecb0bdd460d0aa72a09923d (patch)
tree135930b7b225595068707d21326e051553ce3850 /lib/public
parentac133e9faa0a3568716596e83c5ff0993c8dcf89 (diff)
downloadnextcloud-server-1d30efdd73a2f2c94ecb0bdd460d0aa72a09923d.tar.gz
nextcloud-server-1d30efdd73a2f2c94ecb0bdd460d0aa72a09923d.zip
Fix private member access of parent class in ocsresponse
* noticed while checking PHPDoc
Diffstat (limited to 'lib/public')
-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 4cc1ba80d03..9ab582e8ae0 100644
--- a/lib/public/appframework/http/ocsresponse.php
+++ b/lib/public/appframework/http/ocsresponse.php
@@ -64,7 +64,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;
@@ -89,7 +89,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
);