functions.inc.php:

- check_quota(): first check if enforcing quotas is disabled via $CONF[quota]


git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1413 a1433add-5e2c-0410-b055-b7f2511e0802
pull/2/head
Christian Boltz 12 years ago
parent c38a9ef0b6
commit 7a7403aa76

@ -612,6 +612,11 @@ function check_mailbox ($domain) {
function check_quota ($quota, $domain, $username="") {
global $CONF;
$rval = false;
if ($CONF['quota'] == "NO") {
return true; # enforcing quotas is disabled - just allow it
}
$limit = get_domain_properties ($domain);
if ($limit['maxquota'] == 0) {

Loading…
Cancel
Save