model/PFAHandler.php:
- getList: change return value to be always true (even if the database result is an empty array), and die() if the database result is not an array. This avoids some if blocks in various files to implement a fallback to array() on empty results. functions.inc.php: - list_admins(): simplify after the *Handler->getList() change - get_domain_properties(): change a forgotten $handler->return to $handler->result() (follow-up for r1534) list-domain, list-virtual.php: - simplify after the *Handler->getList() change git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1535 a1433add-5e2c-0410-b055-b7f2511e0802pull/2/head
parent
bb7a3ff04d
commit
f2c2b554ac
Loading…
Reference in New Issue