mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-23 12:27:48 +00:00
Merge pull request #1549 from haiwen/org-user-quota
update usage of seafile api
This commit is contained in:
@@ -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:
|
||||
|
Reference in New Issue
Block a user