diff options
Diffstat (limited to 'lib/private/ocs')
-rw-r--r-- | lib/private/ocs/result.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/private/ocs/result.php b/lib/private/ocs/result.php index 9f14e8da7e8..0e3b85d5905 100644 --- a/lib/private/ocs/result.php +++ b/lib/private/ocs/result.php @@ -96,7 +96,7 @@ class OC_OCS_Result{ * @return bool */ public function succeeded() { - return (substr($this->statusCode, 0, 1) === '1'); + return ($this->statusCode == 100); } |