mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 16:33:17 +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
8ef9570d93
commit
65be94b6ce
@ -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