Skip to content

Commit

Permalink
Pass the maxitems value.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Jan 23, 2014
1 parent 3e32e7a commit f64062b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion framework/ActiveSync/lib/Horde/ActiveSync/State/Base.php
Expand Up @@ -436,7 +436,8 @@ public function getChanges(array $options = array())
(int)$this->_thisSyncStamp,
$cutoffdate,
!empty($options['ping']),
$this->_folder->haveInitialSync
$this->_folder->haveInitialSync,
!empty($options['maxitems']) ? $options['maxitems'] : 100
);

// Only update the folderstate if we are not PINGing.
Expand Down

0 comments on commit f64062b

Please sign in to comment.