mirror of
https://github.com/Combodo/iTop.git
synced 2026-02-13 07:24:13 +01:00
N°2211 DataSynchro : rollback oChange remove in DBUpdate() + added log
Be conservative : this is a fix only release... oChange will be done in the future, it's a work that should be done everywhere in iTop and not only DataSynchro
This commit is contained in:
@@ -2670,7 +2670,7 @@ class SynchroExecution
|
||||
$aArguments['last_full_load'] = '';
|
||||
}
|
||||
|
||||
$this->m_oStatLog->DBUpdate();
|
||||
$this->m_oStatLog->DBUpdate($this->m_oChange);
|
||||
|
||||
$iStepCount = 0;
|
||||
do
|
||||
@@ -2766,7 +2766,7 @@ class SynchroExecution
|
||||
$bContinue = $this->DoJob3($iMaxChunkSize, $iCurrPos);
|
||||
break;
|
||||
}
|
||||
$this->m_oStatLog->DBUpdate();
|
||||
$this->m_oStatLog->DBUpdate($this->m_oChange);
|
||||
self::$m_oCurrentTask = null;
|
||||
return $bContinue;
|
||||
}
|
||||
@@ -2875,6 +2875,7 @@ class SynchroExecution
|
||||
break;
|
||||
|
||||
default:
|
||||
$this->m_oStatLog->AddTrace("Unknown delete policy : $sDeletePolicy");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user