[eGroupWare-svn] r55750 - /trunk/egroupware/api/src/Asyncservice.php

[email protected]
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: nathangray
Date: Thu Apr 14 23:30:36 2016
New Revision: 55750

URL: http://svn.stylite.de/viewvc/egroupware?rev=55750&view=rev
Log:
Fix async services.  Fixes calendar alarms disappearing.

Modified:
    trunk/egroupware/api/src/Asyncservice.php

Modified: trunk/egroupware/api/src/Asyncservice.php
URL: http://svn.stylite.de/viewvc/egroupware/trunk/egroupware/api/src/Asyncservice.php?rev=55750&r1=55749&r2=55750&view=diff
==============================================================================
--- trunk/egroupware/api/src/Asyncservice.php (original)
+++ trunk/egroupware/api/src/Asyncservice.php Thu Apr 14 23:30:36 2016
@@ -480,7 +480,7 @@
 	 */
 	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 @@
 	 */
 	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(


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.