functions.inc.php: fix check_quota() to handle unlimited maxquota
- explicitely check for unlimited maxquota when checking if $quota > $limit[maxquota]. Without this, $quota was always considered as being too big (not surprising, everything is >0 ;-) This fixes https://sourceforge.net/tracker/?func=detail&aid=3306926&group_id=191583&atid=937964 (caused by domain quota patch, therefore not affecting 2.3.x) - replaced setting $rval with return in some cases if the decision is final without needing to check domain quota - added lots of comments to make understanding the function easier git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1065 a1433add-5e2c-0410-b055-b7f2511e0802pull/2/head
parent
bd41cf1693
commit
62261f54ae
Loading…
Reference in New Issue