mirror of
https://github.com/nextcloud/server.git
synced 2026-06-03 22:06:34 -04:00
Only accept success as 100 like the OCS spec does
This commit is contained in:
parent
0c355cb1fb
commit
419e0354d5
1 changed files with 1 additions and 1 deletions
|
|
@ -96,7 +96,7 @@ class OC_OCS_Result{
|
|||
* @return bool
|
||||
*/
|
||||
public function succeeded() {
|
||||
return (substr($this->statusCode, 0, 1) === '1');
|
||||
return ($this->statusCode == 100);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue