You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-07-31 10:04:20 +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(
|
$protectedCommands = array(
|
||||||
'initialize','in','out','err','hr',
|
'initialize', 'in', 'out', 'err', 'hr', 'log',
|
||||||
'createfile', 'isdir','copydir','object','tostring',
|
'__construct', 'dispatch', 'stdout', 'stderr'
|
||||||
'requestaction','log','cakeerror', 'shelldispatcher',
|
|
||||||
'__initconstants','__initenvironment','__construct',
|
|
||||||
'dispatch','__bootstrap','getinput','stdout','stderr','parseparams','shiftargs'
|
|
||||||
);
|
);
|
||||||
|
|
||||||
if (in_array(strtolower($command), $protectedCommands)) {
|
if (in_array(strtolower($command), $protectedCommands)) {
|
||||||
|
Reference in New Issue
Block a user