protected function _uninstall() { if (framework\Context::getScope()->getID() == 1) { Commits::getTable()->drop(); Files::getTable()->drop(); IssueLinks::getTable()->drop(); } parent::_uninstall(); }
private function _populateAffectedFiles() { if ($this->_files == null) { $this->_files = tables\Files::getTable()->getByCommitID($this->_id); } }