Skip to content

Commit

Permalink
Revert "parse error"
Browse files Browse the repository at this point in the history
This reverts commit 56d76e0.
  • Loading branch information
mrubinsk committed Oct 16, 2013
1 parent 56d76e0 commit 82ae786
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions framework/ActiveSync/lib/Horde/ActiveSync/State/Sql.php
Expand Up @@ -1466,13 +1466,13 @@ public function getFolderUidForBackendId($serverid)
*
* @param array $uids An array of uids to check.
*
* @return array An array of UID -> timestamp of the last PIM-initiated
* change for the specified uid, or null if none found.
* @return integer|null The timestamp of the last PIM-initiated change for
* the specified uid, or null if none found.
*/
protected function _getPIMChangeTS($uids, $type)
{
$sql = 'SELECT message_uid, MAX(sync_modtime) FROM ' . $this->_syncMapTable
. ' WHERE message_uid IN (' . implode(',', array_fill(0, count($uids), '?'))
$sql = 'SELECT MAX(sync_modtime), message_uid FROM ' . $this->_syncMapTable
. ' WHERE message_uid IN (' . implode(',' array_fill(0, count($uids), '?'))
. ') AND sync_devid = ? AND sync_user = ?';

if ($type == Horde_ActiveSync::CHANGE_TYPE_DELETE) {
Expand Down

0 comments on commit 82ae786

Please sign in to comment.