model/DomainHandler.php:
- split __construct to - __construct($new=0) - init $struct etc. and - init($username) - validate $username This allows reading of $struct before doing any check on the username, and will also avoid problems when I implement a function to list all domains - init(): use direct return values instead of $this->return scripts/shells/domain.php, create-domain.php - update to use new DomainHandler->init() git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1219 a1433add-5e2c-0410-b055-b7f2511e0802pull/2/head
parent
5c5c79e8a9
commit
f8fb724dcf
Loading…
Reference in New Issue