mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
hasync: network time missing in core, add core_xmlrpc_sync() hook for registration.
This commit is contained in:
parent
be2cf16dc1
commit
33d7f9d247
@ -240,3 +240,20 @@ function core_interfaces()
|
||||
]
|
||||
];
|
||||
}
|
||||
|
||||
/**
|
||||
* sync configuration via xmlrpc
|
||||
* @return array
|
||||
*/
|
||||
function core_xmlrpc_sync()
|
||||
{
|
||||
$result = array();
|
||||
|
||||
$result[] = array(
|
||||
'description' => gettext('Network Time'),
|
||||
'section' => 'ntpd',
|
||||
'id' => 'ntpd',
|
||||
);
|
||||
|
||||
return $result;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user