remove deleted functions from $protectedCommands

If grep -r doesn't find a function, we don't need to keep it in
$protectedCommands ;-)
pull/157/head
Christian Boltz 6 years ago
parent 5e93dfe604
commit 36fe1f6ccc
No known key found for this signature in database
GPG Key ID: C6A682EA63C82F1C

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

Loading…
Cancel
Save