1
0
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:
Christian Boltz
2018-03-25 21:23:52 +02:00
parent 5e93dfe604
commit 36fe1f6ccc

View File

@ -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)) {