diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-06-19 16:38:46 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-06-19 16:38:46 +0000 |
| commit | 545e775a849d2a21a78107570d158e88e29ab1df (patch) | |
| tree | 730fd02ecedfe1f6dcde6ea8124a6567d7fc0639 /modules | |
| parent | c385e374a24c2371e8f48c5d3563ce464d1b76da (diff) | |
| download | webtrees-545e775a849d2a21a78107570d158e88e29ab1df.tar.gz webtrees-545e775a849d2a21a78107570d158e88e29ab1df.tar.bz2 webtrees-545e775a849d2a21a78107570d158e88e29ab1df.zip | |
Use GedcomRecord objects instead of processing raw gedcom data
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/batch_update/plugins/death_y.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/batch_update/plugins/death_y.php b/modules/batch_update/plugins/death_y.php index 4b51613944..70a1927cbb 100644 --- a/modules/batch_update/plugins/death_y.php +++ b/modules/batch_update/plugins/death_y.php @@ -42,7 +42,7 @@ class death_y_bu_plugin extends base_plugin { } static function doesRecordNeedUpdate($xref, $gedrec) { - return !preg_match('/^1\s+'.WT_EVENTS_DEAT.'\b/m', $gedrec) && is_dead($gedrec, WT_GED_ID); + return !preg_match('/^1\s+'.WT_EVENTS_DEAT.'\b/m', $gedrec) && Person::getInstance($xref)->isDead(); } static function updateRecord($xref, $gedrec) { |
