Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jun 11, 2015
1 parent 5cebaa9 commit 2fe54a3
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions framework/Core/lib/Horde/Core/ActiveSync/Driver.php
Expand Up @@ -831,6 +831,11 @@ public function statFolder($id, $parent = '0', $mod = null, $serverid = null, $t
* if $from_ts is 0. Needed to avoid race
* conditions when we don't have any history
* data. @since 2.6.0
* @todo If we can pass the synckey (
* perhaps as part of $folder), we can
* just look for synckey 0 to know when
* we CAN trigger an initial sync without
* this flag.
* @param integer $maxitems Maximum number of recipients for a RI
* collection. @since 2.12.0
* @param boolean $refreshFilter Force a SOFTDELETE operation and check
Expand All @@ -841,8 +846,14 @@ public function statFolder($id, $parent = '0', $mod = null, $serverid = null, $t
* @return array An array of hashes that contain the ids of items that have
* changed in the specified collection along with a 'type'
* flag that indicates the type of change.
* @todo H6 - clean up method parameters, update parent class etc...
* return a new ids object.
* @todo H6 - Clean up method parameters, update parent class etc...
* - Return a new ids object.
* - Refactor to use a Repository pattern for each supported
* collection and move the bulk of the logic in the switch
* structure below to the various classes - and refactor out most
* of the stuff in the registry connector since the Repositories
* will handle the basic CRUD operations and change detection on
* each collection.
*/
public function getServerChanges(
$folder, $from_ts, $to_ts, $cutoffdate, $ping, $ignoreFirstSync = false, $maxitems = 100, $refreshFilter = false)
Expand Down

0 comments on commit 2fe54a3

Please sign in to comment.