Commit 342e43cf authored by Sebastian Kummer's avatar Sebastian Kummer

ZP-629 Removed tabs/whitespace, removed info log level message.

Released under the Affero GNU General Public License (AGPL) version 3.
parent b0d584d3
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Created : 16.02.2012 * Created : 16.02.2012
* *
* Copyright 2007 - 2013 Zarafa Deutschland GmbH * Copyright 2007 - 2013, 2015 Zarafa Deutschland GmbH
* *
* This program is free software: you can redistribute it and/or modify * This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License, version 3, * it under the terms of the GNU Affero General Public License, version 3,
...@@ -57,7 +57,7 @@ class Provisioning extends RequestProcessor { ...@@ -57,7 +57,7 @@ class Provisioning extends RequestProcessor {
$rwstatus = self::$deviceManager->GetProvisioningWipeStatus(); $rwstatus = self::$deviceManager->GetProvisioningWipeStatus();
$rwstatusWiped = false; $rwstatusWiped = false;
$deviceInfoSet = false; $deviceInfoSet = false;
// if this is a regular provisioning require that an authenticated remote user // if this is a regular provisioning require that an authenticated remote user
if ($rwstatus < SYNC_PROVISION_RWSTATUS_PENDING) { if ($rwstatus < SYNC_PROVISION_RWSTATUS_PENDING) {
...@@ -77,7 +77,6 @@ class Provisioning extends RequestProcessor { ...@@ -77,7 +77,6 @@ class Provisioning extends RequestProcessor {
// Each of them should only be once per request. // Each of them should only be once per request.
WBXMLDecoder::ResetInWhile("provisioningMain"); WBXMLDecoder::ResetInWhile("provisioningMain");
while(WBXMLDecoder::InWhile("provisioningMain")) { while(WBXMLDecoder::InWhile("provisioningMain")) {
$requestName = ""; $requestName = "";
if (self::$decoder->getElementStartTag(SYNC_PROVISION_REMOTEWIPE)) { if (self::$decoder->getElementStartTag(SYNC_PROVISION_REMOTEWIPE)) {
$requestName = SYNC_PROVISION_REMOTEWIPE; $requestName = SYNC_PROVISION_REMOTEWIPE;
...@@ -171,10 +170,9 @@ class Provisioning extends RequestProcessor { ...@@ -171,10 +170,9 @@ class Provisioning extends RequestProcessor {
} }
if(!self::$decoder->getElementEndTag()) { //provision if(!self::$decoder->getElementEndTag()) //provision
ZLog::Write(LOGLEVEL_INFO, "No End Provision");
return false; return false;
}
if (PROVISIONING !== true) { if (PROVISIONING !== true) {
ZLog::Write(LOGLEVEL_INFO, "No policies deployed to device"); ZLog::Write(LOGLEVEL_INFO, "No policies deployed to device");
$policystatus = SYNC_PROVISION_POLICYSTATUS_NOPOLICY; $policystatus = SYNC_PROVISION_POLICYSTATUS_NOPOLICY;
......
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