1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-01 15:36:37 +00:00

delete an entry from RepoFileCount when deleting a repo from repo trash

This commit is contained in:
caixiangyue
2019-05-06 07:55:38 +00:00
parent d4713418bb
commit 3a7b2f2bea

View File

@@ -2608,6 +2608,10 @@ seaf_repo_manager_del_repo_from_trash (SeafRepoManager *mgr,
return -1;
}
seaf_db_statement_query (mgr->seaf->db,
"DELETE FROM RepoFileCount WHERE repo_id = ?",
1, "string", repo_id);
seaf_db_statement_query (mgr->seaf->db,
"DELETE FROM RepoTrash WHERE repo_id = ?",
1, "string", repo_id);