Commit dbbceca0 authored by Ad Schellevis's avatar Ad Schellevis

remove more unused xmlrpc server functions

parent 2b7edb17
......@@ -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;
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment