+ [task#125051,done,0.1h,0h] Code optimization and style adjustment.
This commit is contained in:
@@ -3292,7 +3292,6 @@ class taskModel extends model
|
||||
*/
|
||||
public function updateLinkedCommits(int $taskID, int $repoID, array $revisions): bool
|
||||
{
|
||||
file_put_contents('/tmp/t.log', 'task: '. var_export(func_get_args(), true)."\n", FILE_APPEND);
|
||||
if(!$taskID || !$repoID || empty($revisions)) return true;
|
||||
$task = $this->dao->select('project')->from(TABLE_TASK)->where('id')->eq($taskID)->fetch();
|
||||
if(!$task) return true;
|
||||
|
||||
Reference in New Issue
Block a user