protected function hook_postDelete() { $this->task_id = $this->_old_key; $this->task_project = $this->_project_id; $this->updateDynamics(); $last_task_data = $this->getLastTaskData($this->_project_id); CProject::updateTaskCache($this->_project_id, $last_task_data['task_id'], $last_task_data['last_date'], $this->getTaskCount($this->_project_id)); parent::hook_postDelete(); }
protected function hook_postDelete() { $indexer = new w2p_FileSystem_Indexer($this->_getQuery()); $indexer->clear($this->_old_key); parent::hook_postDelete(); }
protected function hook_postDelete() { $q = $this->_getQuery(); $q->setDelete('contacts_methods'); $q->addWhere('contact_id=' . (int) $this->_old_key); $q->exec(); parent::hook_postDelete(); }