Commit b0d584d3 authored by Vincent Sherwood's avatar Vincent Sherwood

ZP-629 Replace while with WBXMLDecoder::InWhile, and remove closing tag....

ZP-629 Replace while with WBXMLDecoder::InWhile, and remove closing tag. Released under the Affero GNU General Public License (AGPL) version 3.
parent 6809169a
......@@ -75,7 +75,8 @@ class Provisioning extends RequestProcessor {
// - DeviceInformation
// - Policies
// Each of them should only be once per request.
while (1) {
WBXMLDecoder::ResetInWhile("provisioningMain");
while(WBXMLDecoder::InWhile("provisioningMain")) {
$requestName = "";
if (self::$decoder->getElementStartTag(SYNC_PROVISION_REMOTEWIPE)) {
......@@ -265,4 +266,3 @@ class Provisioning extends RequestProcessor {
return true;
}
}
?>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment