summaryrefslogtreecommitdiff
path: root/app/Fact.php
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@webtrees.net>2018-11-11 19:34:49 +0000
committerGreg Roach <fisharebest@webtrees.net>2018-11-18 09:14:44 +0000
commitc09358794665832df009408551d8543ccb6e3783 (patch)
tree66eefc2065f8dcfb2a02844e44e8b9f61b65c4bd /app/Fact.php
parentcc13d6d8ff36fa70d85a3019126ce6f85d0071ad (diff)
downloadwebtrees-c09358794665832df009408551d8543ccb6e3783.tar.gz
webtrees-c09358794665832df009408551d8543ccb6e3783.tar.bz2
webtrees-c09358794665832df009408551d8543ccb6e3783.zip
Rename GedcomRecord::getXref() to xref()
Diffstat (limited to 'app/Fact.php')
-rw-r--r--app/Fact.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Fact.php b/app/Fact.php
index 4ce8b6cea7..5bea67944f 100644
--- a/app/Fact.php
+++ b/app/Fact.php
@@ -266,7 +266,7 @@ class Fact
}
// Does this record have a default RESN?
- $xref = $this->record->getXref();
+ $xref = $this->record->xref();
$fact_privacy = $this->record->getTree()->getFactPrivacy();
$individual_fact_privacy = $this->record->getTree()->getIndividualFactPrivacy();
if (isset($individual_fact_privacy[$xref][$this->tag])) {
@@ -655,6 +655,6 @@ class Fact
*/
public function __toString()
{
- return $this->id . '@' . $this->record->getXref();
+ return $this->id . '@' . $this->record->xref();
}
}