You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-07-29 22:41:11 +03:00
Refactor some methods
PFAHandler::store() -> PFAHandler::save(); PFAHandler::storemore() -> PFAHandler::postSave(); PFAHandler::beforestore() -> PFAHandler::preSave();
This commit is contained in:
@ -123,7 +123,7 @@ class AdminHandler extends PFAHandler {
|
||||
* called by $this->store() after storing $this->values in the database
|
||||
* can be used to update additional tables, call scripts etc.
|
||||
*/
|
||||
protected function storemore() {
|
||||
protected function postSave() : bool {
|
||||
# store list of allowed domains in the domain_admins table
|
||||
if (isset($this->values['domains'])) {
|
||||
if (is_array($this->values['domains'])) {
|
||||
|
Reference in New Issue
Block a user