In Owncloud 10.0.10 user quota for LDAP accounts resets itself to Default.
I believe this change caused the problem.
If you put back
} else {
instead of
}
if ($quota === null) {
the set quota seems to stick.
I’m not sure if its safe to change it or if this completely fixes the problem.
Please someone look into it.
Steps to reproduce
- Set custom quota for LDAP account
- Login with that account
- The quota is reset to Default
( In LDAP -> Advanced -> Special Attributs, Quota Field and Quota Default are empty. )
Expected behaviour
Custom quota to stay
Actual behaviour
The quota is reset to Default
Server configuration
Operating system:
Centos 7
Web server:
Apache 2.4
Database:
MySQL 5.7
PHP version:
7.1.x
ownCloud version:
10.0.10
Updated from an older ownCloud or fresh install:
Updated from 10.0.8 or 10.0.9