* CardDAV/Addressbook/PostgreSQL: fix SQL error, remove MySQL only FROM_UNIXTIME with our db abstration version

This commit is contained in:
Ralf Becker 2016-11-02 09:40:16 +01:00
parent 16689ebc27
commit 7b95aa73b4

View File

@ -292,7 +292,7 @@ class addressbook_groupdav extends Api\CalDAV\Handler
if ($sync_collection_report)
{
list(,$sync_token) = explode('>', $filter[0]);
$where[] = 'list_modified>FROM_UNIXTIME('.(int)$sync_token.')';
if ((int)$sync_token) $where[] = 'list_modified>'.$GLOBALS['egw']->db->from_unixtime((int)$sync_token);
}
if (isset($filter[self::$path_attr])) // multiget report?
{