summaryrefslogtreecommitdiffstats
path: root/lib/ocs
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-12-31 14:16:29 +0000
committerTom Needham <needham.thomas@gmail.com>2012-12-31 14:16:29 +0000
commit218a5ea89014322592bd8c4789d8500d42029b9f (patch)
tree48a819068f3a0e77b46bf57173a368e38d82f3b3 /lib/ocs
parente6de09c0a9beb639ad6e2a1bb30319bfe38dc8a5 (diff)
downloadnextcloud-server-218a5ea89014322592bd8c4789d8500d42029b9f.tar.gz
nextcloud-server-218a5ea89014322592bd8c4789d8500d42029b9f.zip
Remove unused methods
Diffstat (limited to 'lib/ocs')
-rw-r--r--lib/ocs/result.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/lib/ocs/result.php b/lib/ocs/result.php
index 24029051da5..4531da5ae0d 100644
--- a/lib/ocs/result.php
+++ b/lib/ocs/result.php
@@ -15,14 +15,6 @@ class OC_OCS_Result{
}
/**
- * sets the statuscode
- * @param $code int
- */
- public function setCode(int $code){
- $this->statuscode = $code;
- }
-
- /**
* optionally set the total number of items available
* @param $items int
*/
@@ -39,14 +31,6 @@ class OC_OCS_Result{
}
/**
- * set a custom message for the response
- * @param $message string the message
- */
- public function setMessage(string $message){
- $this->message = $message;
- }
-
- /**
* returns the data associated with the api result
* @return array
*/