mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
fix phrase "config"
This commit is contained in:
parent
e94b527252
commit
507d5cc80a
@ -1126,14 +1126,14 @@ abstract class admin_cmd
|
|||||||
// instanciate single periodic execution object
|
// instanciate single periodic execution object
|
||||||
$single = $cmd->as_array();
|
$single = $cmd->as_array();
|
||||||
$single['parent'] = $single['id'];
|
$single['parent'] = $single['id'];
|
||||||
$single = array_diff_key($single, array_flip(array(
|
$args = array_diff_key($single, array_flip(array(
|
||||||
'id','uid',
|
'id','uid',
|
||||||
'created','modified','modifier',
|
'created','modified','modifier',
|
||||||
'async_job_id','rrule','scheduled',
|
'async_job_id','rrule','scheduled',
|
||||||
'status', 'set', 'old','value','result'
|
'status', 'set', 'old','value','result'
|
||||||
)));
|
)));
|
||||||
|
|
||||||
$periodic = admin_cmd::instanciate($single);
|
$periodic = admin_cmd::instanciate($args);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
$value = $periodic->run(null, false);
|
$value = $periodic->run(null, false);
|
||||||
@ -1207,7 +1207,7 @@ abstract class admin_cmd
|
|||||||
}
|
}
|
||||||
elseif (!$data['remote_hash'] && !($data['install_id'] && $data['config_passwd']))
|
elseif (!$data['remote_hash'] && !($data['install_id'] && $data['config_passwd']))
|
||||||
{
|
{
|
||||||
throw new Api\Exception\WrongUserinput(lang('Either Install ID AND Api\Config password needed OR the remote hash!'));
|
throw new Api\Exception\WrongUserinput(lang('Either Install ID AND config password needed OR the remote hash!'));
|
||||||
}
|
}
|
||||||
//_debug_array($data);
|
//_debug_array($data);
|
||||||
admin_cmd::$remote->init($data);
|
admin_cmd::$remote->init($data);
|
||||||
|
Loading…
Reference in New Issue
Block a user