mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 16:44:39 +00:00
(plugins, xmlrpc sync) use standard help if none available
This commit is contained in:
parent
5d65669ee0
commit
dd80bded16
@ -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']);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user