You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-07-29 22:41:11 +03:00
postfixadmin-cli: get rid of empty/unused initialize()
This commit is contained in:
@ -210,8 +210,6 @@ class PostfixAdmin {
|
||||
# TODO: add a way to Cli* to signal if the selected handler is supported (for example, not all *Handler support changing the password)
|
||||
|
||||
if (strtolower(get_parent_class($shell)) == 'shell') {
|
||||
$shell->initialize();
|
||||
|
||||
$handler = new $shell->handler_to_use;
|
||||
if (in_array($task, $handler->taskNames)) {
|
||||
$this->shiftArgs();
|
||||
@ -243,7 +241,7 @@ class PostfixAdmin {
|
||||
}
|
||||
|
||||
$protectedCommands = array(
|
||||
'initialize', 'in', 'out', 'err', 'hr', 'log',
|
||||
'in', 'out', 'err', 'hr', 'log',
|
||||
'__construct', 'dispatch', 'stdout', 'stderr'
|
||||
);
|
||||
|
||||
|
Reference in New Issue
Block a user