Only accept success as 100 like the OCS spec does
This commit is contained in:
parent
16d10844cd
commit
6b017201b8
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