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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user