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