* Fix bug.

This commit is contained in:
tianshujie98
2020-11-10 08:21:42 +08:00
parent 5d6312a1c4
commit b379b8fb33
+2 -2
View File
@@ -173,9 +173,9 @@ class svnModel extends model
}
}
$version = $this->repo->saveOneCommit($repoID, $log, $version);
$version = $this->repo->saveOneCommit($repo->id, $log, $version);
}
$this->repo->updateCommitCount($repoID, $lastInDB->commit + count($logs));
$this->repo->updateCommitCount($repo->id, $lastInDB->commit + count($logs));
$this->dao->update(TABLE_REPO)->set('lastSync')->eq(helper::now())->where('id')->eq($repoID)->exec();
if($isPrintLog) $this->printLog("\n\nrepo #" . $repo->id . ': ' . $repo->path . " finished");