Skip to content

Commit

Permalink
Bug: 13191 Fix status return for SETTINGS_DEVICEINFORMATION requests.
Browse files Browse the repository at this point in the history
Device information is stored in the device object, not via the driver.
  • Loading branch information
mrubinsk committed May 19, 2014
1 parent f6cde30 commit 83f572b
Showing 1 changed file with 1 addition and 5 deletions.
Expand Up @@ -273,11 +273,7 @@ protected function _handle()
if (isset($device_properties)) {
$this->_encoder->startTag(self::SETTINGS_DEVICEINFORMATION);
$this->_encoder->startTag(self::SETTINGS_STATUS);
if (!isset($result['set']['deviceinformation'])) {
$this->_encoder->content(0);
} else {
$this->_encoder->content(Horde_ActiveSync_Request_Settings::STATUS_SUCCESS);
}
$this->_encoder->content(Horde_ActiveSync_Request_Settings::STATUS_SUCCESS);
$this->_encoder->endTag(); // end self::SETTINGS_STATUS
$this->_encoder->endTag(); // end self::SETTINGS_DEVICEINFORMATION
}
Expand Down

0 comments on commit 83f572b

Please sign in to comment.