1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-22 20:08:19 +00:00

Merge pull request #1549 from haiwen/org-user-quota

update usage of seafile api
This commit is contained in:
Daniel Pan
2017-04-28 13:26:53 +08:00
committed by GitHub
2 changed files with 5 additions and 8 deletions

View File

@@ -915,8 +915,7 @@ def space_and_traffic(request):
else:
org_id = org[0].org_id
space_quota = seafile_api.get_org_user_quota(org_id, username)
space_usage = seafserv_threaded_rpc.get_org_user_quota_usage(
org_id, username)
space_usage = seafile_api.get_org_user_quota_usage(org_id, username)
rates = {}
if space_quota > 0: