Skip to content

Commit

Permalink
Parse incoming ITEMOPERATIONS_SCHEMA elements, even though we ignore …
Browse files Browse the repository at this point in the history
…them for now.
  • Loading branch information
mrubinsk committed Dec 27, 2013
1 parent b0aa3a9 commit f8ba996
Showing 1 changed file with 10 additions and 2 deletions.
Expand Up @@ -144,8 +144,16 @@ protected function _handle()
case self::ITEMOPERATIONS_RANGE:
$thisio['range'] = $this->_decoder->getElementContent();
break;
// @TODO if needed.
// case self::ITEMOPERATIONS_SCHEMA:

case self::ITEMOPERATIONS_SCHEMA:
while (1) {
$el = $this->_decoder->getElement();
$e = $this->_decoder->peek();
if ($e[Horde_ActiveSync_Wbxml::EN_TYPE] == EN_TYPE_ENDTAG) {
$this->_decoder->getElementEndTag();
break;
}
}
}
}
} elseif ($reqtag == self::ITEMOPERATIONS_STORE) {
Expand Down

0 comments on commit f8ba996

Please sign in to comment.