summaryrefslogtreecommitdiff
path: root/library/WT/Repository.php
diff options
context:
space:
mode:
Diffstat (limited to 'library/WT/Repository.php')
-rw-r--r--library/WT/Repository.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/WT/Repository.php b/library/WT/Repository.php
index 054b214726..5254c68e23 100644
--- a/library/WT/Repository.php
+++ b/library/WT/Repository.php
@@ -2,7 +2,7 @@
// Class file for a Repository (REPO) object
//
// webtrees: Web based Family History software
-// Copyright (C) 2013 webtrees development team.
+// Copyright (C) 2014 webtrees development team.
//
// Derived from PhpGedView
// Copyright (C) 2002 to 2009 PGV Development Team. All rights reserved.
@@ -19,7 +19,7 @@
//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
if (!defined('WT_WEBTREES')) {
header('HTTP/1.0 403 Forbidden');
@@ -48,7 +48,7 @@ class WT_Repository extends WT_GedcomRecord {
}
// Get an array of structures containing all the names in the record
- public function getAllNames() {
- return parent::_getAllNames('NAME', 1);
+ public function extractNames() {
+ parent::_extractNames(1, 'NAME', $this->getFacts('NAME'));
}
}