* Optimize code.

This commit is contained in:
mayue
2021-12-22 10:36:55 +08:00
parent ea0477b6b2
commit 14a7faf16d
4 changed files with 7 additions and 21 deletions
-2
View File
@@ -103,7 +103,6 @@ class projectrelease extends control
$this->loadModel('build');
$this->app->loadConfig('release');
$this->config->projectrelease->create = $this->config->release->create;
$this->app->loadLang('release');
if(!empty($_POST))
@@ -128,7 +127,6 @@ class projectrelease extends control
unset($builds['trunk']);
$this->view->title = $this->view->project->name . $this->lang->colon . $this->lang->release->create;
$this->view->position[] = $this->lang->release->create;
$this->view->builds = $builds;
$this->view->lastRelease = $this->projectrelease->getLast($projectID);
$this->view->users = $this->loadModel('user')->getPairs('noletter|noclosed');