diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-06-16 23:20:42 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-06-16 23:20:42 +0000 |
| commit | f8b377932a52221a69d525d0ce940d3b49f78649 (patch) | |
| tree | 2f63f898ed26e65df16c29ae518c3422ee21c19e /modules | |
| parent | fd14e7e624695ae4ca5fd66b8f041fa5f6e264bf (diff) | |
| download | webtrees-f8b377932a52221a69d525d0ce940d3b49f78649.tar.gz webtrees-f8b377932a52221a69d525d0ce940d3b49f78649.tar.bz2 webtrees-f8b377932a52221a69d525d0ce940d3b49f78649.zip | |
Change parameters to is_dead(), remove old ones and pass info that it needs and the caller has.
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 fd5fc19ab6..4b51613944 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); + return !preg_match('/^1\s+'.WT_EVENTS_DEAT.'\b/m', $gedrec) && is_dead($gedrec, WT_GED_ID); } static function updateRecord($xref, $gedrec) { |
