Lines Matching refs:obj
89 public function delete(Entity $obj) {
91 if ($obj->task->thread_id != '' && $obj->task->type != 'preventive' && $obj->task->thread->state == 'closed') {
98 parent::delete($obj);
99 $obj->task->update_last_activity();
101 if ($this->count(array('task_id' => $obj->task_id, 'author' => $obj->author)) == 0) {
102 $obj->task->remove_participant_flags($obj->author, array('commentator'));