*Finish task #45150.

This commit is contained in:
zhengrunyu
2021-12-01 10:36:12 +08:00
parent e42d3ebed7
commit 6884b949b0
+4 -4
View File
@@ -708,8 +708,8 @@ class executionModel extends model
*/
public function start($executionID)
{
$oldExecution = $this->getById($executionID);
$now = helper::now();
$oldExecution = $this->getById($executionID);
$now = helper::now();
$execution = fixer::input('post')
->setDefault('status', 'doing')
@@ -861,8 +861,8 @@ class executionModel extends model
*/
public function close($executionID)
{
$oldExecution = $this->getById($executionID);
$now = helper::now();
$oldExecution = $this->getById($executionID);
$now = helper::now();
$execution = fixer::input('post')
->setDefault('status', 'closed')