Skip to content

Commit

Permalink
Set provisioning after we have the device object.
Browse files Browse the repository at this point in the history
  • Loading branch information
mrubinsk committed Nov 4, 2014
1 parent fcbb858 commit 785d8ba
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions framework/ActiveSync/lib/Horde/ActiveSync.php
Original file line number Diff line number Diff line change
Expand Up @@ -709,9 +709,6 @@ public function handleRequest($cmd, $devId)
throw new Horde_Exception_AuthenticationFailure();
}

// Set provisioning support now that we are authenticated.
$this->setProvisioning($this->_driver->getProvisioning());

self::$_logger->info(sprintf(
'[%s] %s request received for user %s',
$this->_procid,
Expand Down Expand Up @@ -840,6 +837,9 @@ public function handleRequest($cmd, $devId)
return true;
}

// Set provisioning support now that we are authenticated.
$this->setProvisioning($this->_driver->getProvisioning(self::$_device));

// Read the initial Wbxml header
$this->_decoder->readWbxmlHeader();

Expand Down

0 comments on commit 785d8ba

Please sign in to comment.