class constant
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 12 Apr 2010 17:39:41 +0000 (13:39 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 12 Apr 2010 17:44:43 +0000 (13:44 -0400)
framework/ActiveSync/lib/Horde/ActiveSync/Request/Ping.php

index 2ec96b9..ea86702 100644 (file)
@@ -137,7 +137,7 @@ class Horde_ActiveSync_Request_Ping extends Horde_ActiveSync_Request_Base
                     $sync = $this->_driver->getSyncObject();
                     $state->loadPingCollectionState($collection);
                     try {
-                        $sync->init($state, false, $collection);
+                        $sync->init($state, null, $collection);
                     } catch (Horde_ActiveSync_Exception $e) {
                         /* Stop ping if exporter cannot be configured */
                         $this->_logger->err('Ping error: Exporter can not be configured. Waiting 30 seconds before ping is retried.');
@@ -155,7 +155,7 @@ class Horde_ActiveSync_Request_Ping extends Horde_ActiveSync_Request_Base
 
                     // Update the state, but don't bother with the backend since we
                     // are not updating any data.
-                    while (is_array($sync->syncronize(BACKEND_DISCARD_DATA)));
+                    while (is_array($sync->syncronize(Horde_ActiveSync::BACKEND_DISCARD_DATA)));
                 }
 
                 if ($dataavailable) {