summaryrefslogtreecommitdiff
path: root/descendancy.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-12-22 14:41:38 +0000
committerfisharebest <fisharebest@gmail.com>2010-12-22 14:41:38 +0000
commitb8bf833b0e0b1224af54c746c313f03061724c95 (patch)
tree6a427fa38bba684ae5a3e365fdcb4a3cbba3a85c /descendancy.php
parent48d9d95769fc24d1fb84d3d2dc7db51c48e179e8 (diff)
downloadwebtrees-b8bf833b0e0b1224af54c746c313f03061724c95.tar.gz
webtrees-b8bf833b0e0b1224af54c746c313f03061724c95.tar.bz2
webtrees-b8bf833b0e0b1224af54c746c313f03061724c95.zip
Remove unnecessary code
Diffstat (limited to 'descendancy.php')
-rw-r--r--descendancy.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/descendancy.php b/descendancy.php
index cf3ea0c332..050e96f087 100644
--- a/descendancy.php
+++ b/descendancy.php
@@ -142,10 +142,7 @@ case 1: //-- booklet
echo '<span class="details2">', i18n::translate('Click on any of the boxes to get more information about that person.'), '</span><br /><br />';
}
$show_cousins = true;
- $famids = find_sfamily_ids($controller->pid);
- if (count($famids)) {
- $controller->print_child_family($controller->descPerson, $controller->generations);
- }
+ $controller->print_child_family($controller->descPerson, $controller->generations);
break;
case 2: //-- Individual list
$descendants=indi_desc($controller->descPerson, $controller->generations, array());