|
@@ 801-803 (lines=3) @@
|
| 798 |
|
} |
| 799 |
|
|
| 800 |
|
$result = $this->client->sendRequest("/json-api/modifyacct", "GET", $params); |
| 801 |
|
if(!empty($result['metadata']) && $result['metadata']['result'] === 1){ |
| 802 |
|
return true; |
| 803 |
|
} |
| 804 |
|
|
| 805 |
|
if(!empty($result['metadata']) && $result['metadata']['result'] === 0){ |
| 806 |
|
throw new ClientExceptions($result['metadata']['reason']); |
|
@@ 874-876 (lines=3) @@
|
| 871 |
|
throw new ClientExceptions($result['metadata']['reason']); |
| 872 |
|
} |
| 873 |
|
|
| 874 |
|
if(!empty($result['metadata']) && $result['metadata']['result'] === 1){ |
| 875 |
|
return true; |
| 876 |
|
} |
| 877 |
|
|
| 878 |
|
return false; |
| 879 |
|
} |