$data['task_id'], 'owner_id' => $data['owner_id'], ); return $this->task->update($values, false); } /** * Check if the event data meet the action condition * * @access public * @param array $data Event data dictionary * @return bool */ public function hasRequiredCondition(array $data) { return true; } }