[Pkg-owncloud-commits] [owncloud] 23/165: Fix private member access of parent class in ocsresponse

David Prévot taffit at moszumanska.debian.org
Thu Apr 23 04:06:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch stable8
in repository owncloud.

commit 1d30efdd73a2f2c94ecb0bdd460d0aa72a09923d
Author: Morris Jobke <hey at morrisjobke.de>
Date:   Thu Apr 16 16:54:01 2015 +0200

    Fix private member access of parent class in ocsresponse
    
    * noticed while checking PHPDoc
---
 lib/public/appframework/http/ocsresponse.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/public/appframework/http/ocsresponse.php b/lib/public/appframework/http/ocsresponse.php
index 4cc1ba8..9ab582e 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
 		);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list