mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
Data Exchange - Format and save traces (config option: synchro_trace)
SVN:trunk[1102]
This commit is contained in:
@@ -122,19 +122,18 @@ foreach(explode(',', $sDataSourcesList) as $iSDS)
|
||||
}
|
||||
else
|
||||
{
|
||||
$aResults = array();
|
||||
if ($bSimulate)
|
||||
{
|
||||
CMDBSource::Query('START TRANSACTION');
|
||||
}
|
||||
try
|
||||
{
|
||||
$oStatLog = $oSynchroDataSource->Synchronize($aResults, null);
|
||||
$oStatLog = $oSynchroDataSource->Synchronize(null);
|
||||
if ($bSimulate)
|
||||
{
|
||||
CMDBSource::Query('ROLLBACK');
|
||||
}
|
||||
foreach ($aResults as $sMessage)
|
||||
foreach ($oStatLog->GetTraces() as $sMessage)
|
||||
{
|
||||
$oP->p('#'.$sMessage);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user