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

update ccnet api usage

This commit is contained in:
lian
2017-03-29 10:28:51 +08:00
parent a3e009fbe0
commit c2140bc3d7
5 changed files with 11 additions and 11 deletions

View File

@@ -1368,7 +1368,7 @@ def space_and_traffic(request):
username = request.user.username
# space & quota calculation
org = ccnet_threaded_rpc.get_orgs_by_user(username)
org = ccnet_api.get_orgs_by_user(username)
if not org:
space_quota = seafile_api.get_user_quota(username)
space_usage = seafile_api.get_user_self_usage(username)