Commit 1b7e9e25 authored by Ad Schellevis's avatar Ad Schellevis

add backup_config_section_xmlrpc to legacy.inc

parent d0ebc69f
......@@ -269,3 +269,15 @@ function restore_config_section_xmlrpc($new_config)
return true;
}
/**
* @param $sectionKeys
* @return array config data
*/
function backup_config_section_xmlrpc($sectionKeys)
{
global $config;
require_once("config.inc");
return array_intersect_key($config, array_flip($sectionKeys));
}
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