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