1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-08-31 15:11:08 +00:00

Merge branch '6.1'

This commit is contained in:
Jonathan Xu
2017-08-23 15:28:19 +08:00
12 changed files with 162 additions and 19 deletions

View File

@@ -3898,3 +3898,10 @@ seaf_repo_manager_update_repo_info (SeafRepoManager *mgr,
seaf_commit_unref (head);
}
char *
seaf_get_trash_repo_owner (const char *repo_id)
{
char *sql = "SELECT owner_id from RepoTrash WHERE repo_id = ?";
return seaf_db_statement_get_string(seaf->db, sql, 1, "string", repo_id);
}