mirror of
https://github.com/haiwen/seafile-server.git
synced 2025-08-02 15:48:06 +00:00
Fix the bug that the last update time of sublibrarys isn't updated.
This commit is contained in:
parent
0edec911ac
commit
be88b15b8e
@ -353,6 +353,8 @@ publish_repo_update_event (CEvent *event, void *data)
|
||||
static void
|
||||
on_branch_updated (SeafBranchManager *mgr, SeafBranch *branch)
|
||||
{
|
||||
seaf_repo_manager_update_repo_info (seaf->repo_mgr, branch->repo_id, branch->commit_id);
|
||||
|
||||
if (seaf_repo_manager_is_virtual_repo (seaf->repo_mgr, branch->repo_id))
|
||||
return;
|
||||
|
||||
@ -363,7 +365,6 @@ on_branch_updated (SeafBranchManager *mgr, SeafBranch *branch)
|
||||
|
||||
cevent_manager_add_event (seaf->ev_mgr, mgr->priv->cevent_id, rdata);
|
||||
|
||||
seaf_repo_manager_update_repo_info (seaf->repo_mgr, branch->repo_id, branch->commit_id);
|
||||
}
|
||||
|
||||
int
|
||||
|
Loading…
Reference in New Issue
Block a user