From dbbceca0bfc0188d828a235f15558f3aa8ca091d Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Thu, 2 Apr 2015 14:32:54 +0000 Subject: [PATCH] remove more unused xmlrpc server functions --- src/etc/inc/xmlrpc/legacy.inc | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/src/etc/inc/xmlrpc/legacy.inc b/src/etc/inc/xmlrpc/legacy.inc index 0ea1c99d9..63d872a04 100644 --- a/src/etc/inc/xmlrpc/legacy.inc +++ b/src/etc/inc/xmlrpc/legacy.inc @@ -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; -} -