mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-27 00:58:55 +01:00
calling job with data array, plus all regular job data, like eg. next (time job was supposted to run)
This commit is contained in:
parent
488959aa5f
commit
5e47dcd0da
@ -426,7 +426,7 @@ class asyncservice
|
||||
list($app) = strpos($job['method'],'::') !== false ? explode('_',$job['method']) :
|
||||
explode('.',$job['method']);
|
||||
translation::add_app($app);
|
||||
ExecMethod($job['method'],$job['data']);
|
||||
ExecMethod($job['method'],$job['data']+array_diff_key($job,array('data' => false)));
|
||||
|
||||
// re-read job, in case it had been updated or even deleted in the method
|
||||
$updated = $this->read($id);
|
||||
|
Loading…
Reference in New Issue
Block a user