2e07e3182f355cf04a1461dd7f893d0ebc818764 |
|
03-Oct-2017 |
Timo Sirainen <timo.sirainen@dovecot.fi> |
quota: quota_get_resource() - return enum to make the result more exact
This is mainly to differentiate between "resource name unknown" and
"unlimited quota".
This also fixes quota_clone plugin to update quota even when quota is
unlimited. It was supposed to have been skipped only when the resource
names weren't known.
The private quota.get_resource() API is unchanged. The backends were
already returning 0 only when the resource name was unknown. |