From d8676c8b89be9c6d499a672a2420cbb039c63f4c Mon Sep 17 00:00:00 2001 From: aaron <462826@qq.com> Date: Fri, 13 Dec 2019 09:40:58 +0800 Subject: [PATCH] git support --- module/ci/control.php | 1 + 1 file changed, 1 insertion(+) diff --git a/module/ci/control.php b/module/ci/control.php index 8ca97cdaa6..f7911dca57 100644 --- a/module/ci/control.php +++ b/module/ci/control.php @@ -414,6 +414,7 @@ class ci extends control } } + $latestInDB = $this->dao->select('DISTINCT t1.*')->from(TABLE_REPOHISTORY)->alias('t1') ->leftJoin(TABLE_REPOBRANCH)->alias('t2')->on('t1.id=t2.revision') ->where('t1.repo')->eq($repoID)