summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-02-11 20:02:36 +0000
committerGreg Roach <fisharebest@gmail.com>2015-02-11 20:02:36 +0000
commit4cf79781eb32481d80e485b345e5b01a25bb17cf (patch)
treed9d29b181ef4624a778dad4c7c554fe9d4dfdd5b
parenta924dd49a717354ace19b0bcef53aec34931ec40 (diff)
downloadwebtrees-4cf79781eb32481d80e485b345e5b01a25bb17cf.tar.gz
webtrees-4cf79781eb32481d80e485b345e5b01a25bb17cf.tar.bz2
webtrees-4cf79781eb32481d80e485b345e5b01a25bb17cf.zip
Remove unused (and incorrect) code
-rw-r--r--modules_v3/batch_update/module.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/modules_v3/batch_update/module.php b/modules_v3/batch_update/module.php
index 13e9d0f8d6..26f23c6ccd 100644
--- a/modules_v3/batch_update/module.php
+++ b/modules_v3/batch_update/module.php
@@ -150,7 +150,6 @@ class batch_update_WT_Module extends Module implements ModuleConfigInterface {
}
// If we've found a record to update, get details and look for the next/prev
if ($this->curr_xref) {
- $this->record = self::getLatestRecord($this->curr_xref, $this->all_xrefs[$this->curr_xref]);
$this->prev_xref = $this->findPrevXref($this->curr_xref);
$this->next_xref = $this->findNextXref($this->curr_xref);
}