1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 02:48:51 +00:00

[sys useradmin] enable 'set quota' for DB useradmin; modified 'set quota' in user info page

This commit is contained in:
llj
2016-12-21 18:24:22 +08:00
parent d3ab1d76a3
commit bb6e1d1419
5 changed files with 78 additions and 17 deletions

View File

@@ -646,7 +646,6 @@ def user_set_quota(request, email):
f = SetUserQuotaForm(request.POST)
if f.is_valid():
email = f.cleaned_data['email']
space_quota_mb = f.cleaned_data['space_quota']
space_quota = space_quota_mb * get_file_size_unit('MB')