Commit 3b93f9ee authored by Ad Schellevis's avatar Ad Schellevis Committed by Franco Fichtner

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

(cherry picked from commit dd80bded)
parent b5dc4a42
......@@ -194,6 +194,9 @@ function plugins_xmlrpc_sync()
foreach ($func() as $helper) {
if (!empty($helper['id']) && !empty($helper['section'])) {
$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']);
}
}
......
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