aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ocs/result.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ocs/result.php')
-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
*/