Commit dd80bded authored by Ad Schellevis's avatar Ad Schellevis

(plugins, xmlrpc sync) use standard help if none available

parent 5d65669e
...@@ -194,6 +194,9 @@ function plugins_xmlrpc_sync() ...@@ -194,6 +194,9 @@ function plugins_xmlrpc_sync()
foreach ($func() as $helper) { foreach ($func() as $helper) {
if (!empty($helper['id']) && !empty($helper['section'])) { if (!empty($helper['id']) && !empty($helper['section'])) {
$sync_settings[$helper['id']] = $helper; $sync_settings[$helper['id']] = $helper;
if (empty($helper['help'])) {
$sync_settings[$helper['id']]['help'] = sprintf(gettext('Synchronize %s settings to backup'), $helper['description']);
}
unset($sync_settings[$helper['id']]['id']); unset($sync_settings[$helper['id']]['id']);
} }
} }
......
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