$params['id']]); } else { SvVideoTask::destroy($params['id']); } return true; } catch (\Exception $e) { self::setError($e->getMessage()); return false; } } }