Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use seafile_api to set/get org user quota #1440

Merged
merged 1 commit into from
Mar 13, 2017
Merged

Use seafile_api to set/get org user quota #1440

merged 1 commit into from
Mar 13, 2017

Conversation

cuihaikuo
Copy link
Contributor

No description provided.

@@ -1355,8 +1355,7 @@ def space_and_traffic(request):
space_usage = seafile_api.get_user_self_usage(username)
else:
org_id = org[0].org_id
space_quota = seafserv_threaded_rpc.get_org_user_quota(org_id,
username)
space_quota = seafile_api.get_org_user_quota(org_id, username)
space_usage = seafserv_threaded_rpc.get_org_user_quota_usage(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line seafserv_threaded_rpc.get_org_user_quota_usage need to be changed too.

@@ -1355,8 +1355,7 @@ def space_and_traffic(request):
space_usage = seafile_api.get_user_self_usage(username)
else:
org_id = org[0].org_id
space_quota = seafserv_threaded_rpc.get_org_user_quota(org_id,
username)
space_quota = seafile_api.get_org_user_quota(org_id, username)
space_usage = seafserv_threaded_rpc.get_org_user_quota_usage(
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line seafserv_threaded_rpc.get_org_user_quota_usage need to be changed too.

@xiez xiez merged commit d1f3dd1 into master Mar 13, 2017
@xiez xiez deleted the org_user_quota branch March 13, 2017 09:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants