mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
#489 Data synchro: reintegrated the latest improvements from trunk.
SVN:1.2[1740]
This commit is contained in:
@@ -120,6 +120,13 @@ $aPageParams = array
|
||||
'default' => 'summary',
|
||||
'description' => '[retcode] to return the count of lines in error, [summary] to return a concise report, [details] to get a detailed report (each line listed)',
|
||||
),
|
||||
'max_chunk_size' => array
|
||||
(
|
||||
'mandatory' => false,
|
||||
'modes' => 'cli',
|
||||
'default' => '0',
|
||||
'description' => 'Limit on the count of records that can be loaded at once while performing the synchronization',
|
||||
),
|
||||
/*
|
||||
'reportlevel' => array
|
||||
(
|
||||
@@ -613,7 +620,8 @@ try
|
||||
//
|
||||
if ($bSynchronize)
|
||||
{
|
||||
$oStatLog = $oDataSource->Synchronize($oLoadStartDate);
|
||||
$oSynchroExec = new SynchroExecution($oDataSource, $oLoadStartDate);
|
||||
$oStatLog = $oSynchroExec->Process();
|
||||
$oP->add_comment('Synchronization---');
|
||||
$oP->add_comment('------------------');
|
||||
if ($sOutput == 'details')
|
||||
|
||||
Reference in New Issue
Block a user