We already have the changes, no need to bother the state machine
authorMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 28 Apr 2010 23:22:08 +0000 (19:22 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 28 Apr 2010 23:22:08 +0000 (19:22 -0400)
framework/ActiveSync/lib/Horde/ActiveSync/Sync.php

index ac5900d..9ada471 100644 (file)
@@ -223,7 +223,7 @@ class Horde_ActiveSync_Sync
 
     public function getChangeCount()
     {
-        return $this->_stateMachine->getChangeCount();
+        return count($this->_changes);
     }
 
     /**