mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 00:54:15 +01:00
Fix async services. Fixes calendar alarms disappearing.
This commit is contained in:
parent
c6c51e6a8e
commit
af0382ffb3
@ -480,7 +480,7 @@ class Asyncservice
|
||||
*/
|
||||
function read($id=0,$cols='*',$offset=False,$append='ORDER BY async_next',$num_rows=0)
|
||||
{
|
||||
if (!is_a($this->db, 'Db')) return false;
|
||||
if (!is_a($this->db, 'EGroupware\\Api\\Db')) return false;
|
||||
|
||||
if ($id === '%')
|
||||
{
|
||||
@ -533,7 +533,7 @@ class Asyncservice
|
||||
*/
|
||||
function write($job, $exists = False, $where=array())
|
||||
{
|
||||
if (!is_a($this->db, 'Db')) return 0;
|
||||
if (!is_a($this->db, 'EGroupware\\Api\\Db')) return 0;
|
||||
|
||||
if (is_array($job['data']) && isset($job['data']['next']) && isset($job['next'])) $job['data']['next'] = $job['next'];
|
||||
$data = array(
|
||||
|
Loading…
Reference in New Issue
Block a user