diff --git a/datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php b/datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php index 6d2a63069..49d8639ae 100755 --- a/datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php +++ b/datamodels/2.x/itop-change-mgmt/module.itop-change-mgmt.php @@ -85,7 +85,7 @@ class ChangeManagementInstaller extends ModuleInstallerAPI if (CMDBSource::IsField($sSourceTable, $sField) && CMDBSource::IsField($sTargetTable, $sField) && CMDBSource::IsField($sSourceTable, $sSourceKeyField) && CMDBSource::IsField($sTargetTable, $sTargetKeyField)) { - SetupWebPage::log_info("Issue #464 - Copying change/start_date into ticket/start_date"); + SetupLog::Info("Issue #464 - Copying change/start_date into ticket/start_date"); $sRepair = "UPDATE `$sTargetTable`, `$sSourceTable` SET `$sTargetTable`.`$sField` = `$sSourceTable`.`$sField` WHERE `$sTargetTable`.`$sField` IS NULL AND`$sTargetTable`.`$sTargetKeyField` = `$sSourceTable`.`$sSourceKeyField`"; CMDBSource::Query($sRepair); } diff --git a/setup/ajax.dataloader.php b/setup/ajax.dataloader.php index af2efccec..b2525fd2b 100644 --- a/setup/ajax.dataloader.php +++ b/setup/ajax.dataloader.php @@ -107,7 +107,7 @@ function FatalErrorCatcher($sOutput) } $sOutput = "$errors\n"; // Logging to a file does not work if the whole memory is exhausted... - //SetupPage::log_error("Fatal error - in $__FILE__ , $errors"); + // SetupLog::Error("Fatal error - in $__FILE__ , $errors"); } return $sOutput; } diff --git a/setup/xmldataloader.class.inc.php b/setup/xmldataloader.class.inc.php index 5f609a183..bc8c34b8b 100644 --- a/setup/xmldataloader.class.inc.php +++ b/setup/xmldataloader.class.inc.php @@ -227,8 +227,6 @@ class XMLDataLoader { $sMsg = "Unknown attribute code - $sClass/$sAttCode"; continue; // ignore silently... - //SetupPage::log_error($sMsg); - //throw(new Exception($sMsg)); } $oAttDef = MetaModel::GetAttributeDef($sClass, $sAttCode);