diff options
| author | Greg Roach <fisharebest@gmail.com> | 2015-06-04 17:36:29 +0100 |
|---|---|---|
| committer | Greg Roach <fisharebest@gmail.com> | 2015-06-04 17:36:29 +0100 |
| commit | 268bcb455673155e78b9762911cd30906516f97b (patch) | |
| tree | e9cc6e508831f924c2ce812088d4556e75cdd8a7 /app/Individual.php | |
| parent | 4d08f44bf2f2cb130afefd6feee89aeb8e8110d4 (diff) | |
| download | webtrees-268bcb455673155e78b9762911cd30906516f97b.tar.gz webtrees-268bcb455673155e78b9762911cd30906516f97b.tar.bz2 webtrees-268bcb455673155e78b9762911cd30906516f97b.zip | |
Function belongs in controller
Diffstat (limited to 'app/Individual.php')
| -rw-r--r-- | app/Individual.php | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/app/Individual.php b/app/Individual.php index e1a1327cb3..abeb89bda7 100644 --- a/app/Individual.php +++ b/app/Individual.php @@ -1010,24 +1010,6 @@ class Individual extends GedcomRecord { } /** - * @todo this function does not belong in this class - * - * @param Family $family - * - * @return string - */ - public function getSpouseFamilyLabel(Family $family) { - $spouse = $family->getSpouse($this); - if ($spouse) { - return - /* I18N: %s is the spouse name */ - I18N::translate('Family with %s', $spouse->getFullName()); - } else { - return $family->getFullName(); - } - } - - /** * get primary parents names for this individual * * @param string $classname optional css class |
