mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-18 02:25:05 +00:00
remove more unused xmlrpc server functions
This commit is contained in:
parent
2b7edb175c
commit
dbbceca0bf
@ -34,7 +34,7 @@
|
||||
function xmlrpc_publishable_legacy()
|
||||
{
|
||||
$publish = array(
|
||||
'exec_shell_xmlrpc','exec_php_xmlrpc','filter_configure_xmlrpc','interfaces_carp_configure_xmlrpc',
|
||||
'filter_configure_xmlrpc','interfaces_carp_configure_xmlrpc',
|
||||
'backup_config_section_xmlrpc','restore_config_section_xmlrpc', 'merge_config_section_xmlrpc',
|
||||
'firmware_version_xmlrpc','reboot_xmlrpc','get_notices_xmlrpc'
|
||||
);
|
||||
@ -287,17 +287,3 @@ function backup_config_section_xmlrpc($sectionKeys)
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* execute shell command (no..no..no.. this shouldn't be exposed)
|
||||
* @param $shell_cmd shell command
|
||||
* @return bool
|
||||
*/
|
||||
function exec_shell_xmlrpc($shell_cmd)
|
||||
{
|
||||
// TODO: we really... really... don't want this, needs to be replaced for decent encapsulated calls
|
||||
require_once("util.inc");
|
||||
mwexec($shell_cmd);
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user