Remove some Throwable abuse in AsyncTasks

This commit is contained in:
Dylan K. Taylor
2018-11-04 22:15:06 +00:00
parent 3e5237b6e0
commit 046c39b02e
2 changed files with 5 additions and 13 deletions

View File

@ -44,10 +44,6 @@ class FileWriteTask extends AsyncTask{
}
public function onRun(){
try{
file_put_contents($this->path, $this->contents, $this->flags);
}catch(\Throwable $e){
}
file_put_contents($this->path, $this->contents, $this->flags);
}
}