summaryrefslogtreecommitdiff
path: root/app/Module/BatchUpdateModule.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Module/BatchUpdateModule.php')
-rw-r--r--app/Module/BatchUpdateModule.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Module/BatchUpdateModule.php b/app/Module/BatchUpdateModule.php
index 2ead52516b..38ac14e3ab 100644
--- a/app/Module/BatchUpdateModule.php
+++ b/app/Module/BatchUpdateModule.php
@@ -185,7 +185,7 @@ class BatchUpdateModule extends AbstractModule implements ModuleConfigInterface
$record = $this->getRecord($all_data[$xref], $tree);
if ($plugin->doesRecordNeedUpdate($record)) {
$new_gedcom = $plugin->updateRecord($record);
- $record->updateRecord($new_gedcom, !$plugin->chan);
+ $record->updateRecord($new_gedcom, false);
}
$parameters['xref'] = $this->findNextXref($plugin, $xref, $all_data, $tree);
@@ -196,7 +196,7 @@ class BatchUpdateModule extends AbstractModule implements ModuleConfigInterface
$record = $this->getRecord($value, $tree);
if ($plugin->doesRecordNeedUpdate($record)) {
$new_gedcom = $plugin->updateRecord($record);
- $record->updateRecord($new_gedcom, !$plugin->chan);
+ $record->updateRecord($new_gedcom, false);
}
}
$parameters['xref'] = '';