this method lives in the state object now
authorMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 5 Apr 2010 21:25:39 +0000 (17:25 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Mon, 5 Apr 2010 21:26:22 +0000 (17:26 -0400)
framework/ActiveSync/lib/Horde/ActiveSync/Request/Ping.php

index 0cf1f03..040c96f 100644 (file)
@@ -108,7 +108,7 @@ class Horde_ActiveSync_Request_Ping extends Horde_ActiveSync_Request_Base
             for ($n = 0; $n < 10; $n++) {
                 //check the remote wipe status
                 if ($this->_provisioning === true) {
-                    $rwstatus = $this->_driver->getDeviceRWStatus($this->_devId);
+                    $rwstatus = $state->getDeviceRWStatus($this->_devId);
                     if ($rwstatus == SYNC_PROVISION_RWSTATUS_PENDING || $rwstatus == SYNC_PROVISION_RWSTATUS_WIPED) {
                         $this->_statusCode = self::STATUS_FOLDERSYNCREQD;
                         break;