summaryrefslogtreecommitdiff
path: root/library/WT/GedcomRecord.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2013-07-16 21:59:08 +0000
committerfisharebest <fisharebest@gmail.com>2013-07-16 21:59:08 +0000
commitb9bb8ea33d62189c30d40456cb4550a5d4b3e5b2 (patch)
treeb19b32487da9d4d1c627b8df357bf09ad0ae6c7b /library/WT/GedcomRecord.php
parent41ad8fa957e59c44918e076c17ea7b6e23dfcf61 (diff)
downloadwebtrees-b9bb8ea33d62189c30d40456cb4550a5d4b3e5b2.tar.gz
webtrees-b9bb8ea33d62189c30d40456cb4550a5d4b3e5b2.tar.bz2
webtrees-b9bb8ea33d62189c30d40456cb4550a5d4b3e5b2.zip
Refactor - no longer need WT_GedcomRecord::equals() - can use "=="
Diffstat (limited to 'library/WT/GedcomRecord.php')
-rw-r--r--library/WT/GedcomRecord.php5
1 files changed, 0 insertions, 5 deletions
diff --git a/library/WT/GedcomRecord.php b/library/WT/GedcomRecord.php
index 64a28cdee2..721d3fa4e2 100644
--- a/library/WT/GedcomRecord.php
+++ b/library/WT/GedcomRecord.php
@@ -250,11 +250,6 @@ class WT_GedcomRecord {
return $this->pending === '';
}
- // Are two records the same?
- public function equals($obj) {
- return $obj && $this->xref==$obj->getXref();
- }
-
// Generate a URL to this record, suitable for use in HTML, etc.
public function getHtmlUrl() {
return $this->_getLinkUrl(static::URL_PREFIX, '&amp;');