* Fix bug.
This commit is contained in:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user