You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-07-29 22:41:11 +03:00
remove deleted functions from $protectedCommands
If grep -r doesn't find a function, we don't need to keep it in $protectedCommands ;-)
This commit is contained in:
@ -243,11 +243,8 @@ class PostfixAdmin {
|
||||
}
|
||||
|
||||
$protectedCommands = array(
|
||||
'initialize','in','out','err','hr',
|
||||
'createfile', 'isdir','copydir','object','tostring',
|
||||
'requestaction','log','cakeerror', 'shelldispatcher',
|
||||
'__initconstants','__initenvironment','__construct',
|
||||
'dispatch','__bootstrap','getinput','stdout','stderr','parseparams','shiftargs'
|
||||
'initialize', 'in', 'out', 'err', 'hr', 'log',
|
||||
'__construct', 'dispatch', 'stdout', 'stderr'
|
||||
);
|
||||
|
||||
if (in_array(strtolower($command), $protectedCommands)) {
|
||||
|
Reference in New Issue
Block a user