Merge branch '18.8.1' into 18.x

This commit is contained in:
tanghucheng
2023-10-27 04:39:19 -04:00
54 changed files with 382 additions and 126 deletions
+13
View File
@@ -2665,6 +2665,19 @@ class executionModel extends model
return $execution;
}
/**
* Get execution by build id.
*
* @param int $buildID
* @access public
* @return object
*/
public function getByBuild($buildID)
{
$build = $this->loadModel('build')->getById($buildID);
return $this->getById($build->execution);
}
/**
* Get the default managers for a execution from it's related products.
*