* [bug#57645] Add the tutorial for execution.
This commit is contained in:
@@ -100,7 +100,7 @@ class executionModel extends model
|
||||
*/
|
||||
public function setMenu(int $executionID)
|
||||
{
|
||||
$execution = $this->fetchByID((int)$executionID);
|
||||
$execution = commonModel::isTutorialMode() ? $this->loadModel('tutorial')->getExecution() : $this->fetchByID((int)$executionID);
|
||||
if(!$execution) return;
|
||||
|
||||
if($execution->type == 'kanban') $this->executionTao->setKanbanMenu();
|
||||
|
||||
@@ -1933,6 +1933,7 @@ class tutorialModel extends model
|
||||
$release->branchName = 'Test branch';
|
||||
$release->projectName = '';
|
||||
$release->files = array();
|
||||
$release->releases = '';
|
||||
|
||||
return $release;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user