summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-06-16 23:20:42 +0000
committerfisharebest <fisharebest@gmail.com>2010-06-16 23:20:42 +0000
commitf8b377932a52221a69d525d0ce940d3b49f78649 (patch)
tree2f63f898ed26e65df16c29ae518c3422ee21c19e /modules
parentfd14e7e624695ae4ca5fd66b8f041fa5f6e264bf (diff)
downloadwebtrees-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.php2
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) {