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

[stable9] Fix default quota #28302

Merged
merged 2 commits into from
Jul 5, 2017
Merged

[stable9] Fix default quota #28302

merged 2 commits into from
Jul 5, 2017

Commits on Jul 5, 2017

  1. Proper separation of quota values in APIs

    User::getQuota() and User::setQuota() are now reading the exact value as
    set in the database instead of interpreting it. This is how it used to
    behave.
    
    Util::getUserQuota() is the method that interprets the quota for example
    by replacing a default value with the default quota value from the app
    config.
    Vincent Petry committed Jul 5, 2017
    Configuration menu
    Copy the full SHA
    95abf31 View commit details
    Browse the repository at this point in the history
  2. Use getUserQuota to prevent repeating logic

    Vincent Petry committed Jul 5, 2017
    Configuration menu
    Copy the full SHA
    4247bff View commit details
    Browse the repository at this point in the history