AsyncTask: remove $serialize parameter from setResult()

Whether serialization is necessary can be determined automatically based on the type of variable.
This commit is contained in:
Dylan K. Taylor
2018-11-03 16:56:24 +00:00
parent d257d36e55
commit 9caf62778c
4 changed files with 5 additions and 7 deletions

View File

@ -59,7 +59,7 @@ class UpdateCheckTask extends AsyncTask{
isset($response["download_url"])
){
$response["details_url"] = $response["details_url"] ?? null;
$this->setResult($response, true);
$this->setResult($response);
}elseif(isset($response["error"])){
$this->error = $response["error"];
}else{