summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2016-01-30 18:03:04 +0000
committerGreg Roach <fisharebest@gmail.com>2016-01-30 18:03:04 +0000
commit467d539e3922a9dd1fe0c0e846df810b9fd7fc4c (patch)
treeb7245da63003a9dbc9ff0bc7cb4b8016cfb341f1
parentbd3f52c5ff209e052c80f26e7ca8629b258ddf71 (diff)
downloadwebtrees-467d539e3922a9dd1fe0c0e846df810b9fd7fc4c.tar.gz
webtrees-467d539e3922a9dd1fe0c0e846df810b9fd7fc4c.tar.bz2
webtrees-467d539e3922a9dd1fe0c0e846df810b9fd7fc4c.zip
Remove dead code
-rw-r--r--app/Controller/HourglassController.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/Controller/HourglassController.php b/app/Controller/HourglassController.php
index b843e27f04..c9fa9e1fdf 100644
--- a/app/Controller/HourglassController.php
+++ b/app/Controller/HourglassController.php
@@ -296,15 +296,8 @@ class HourglassController extends ChartController {
if ($this->show_spouse) {
foreach ($families as $family) {
echo "</td></tr><tr><td style='text-align:$otablealign'>";
- //-- shrink the box for the spouses
- $tempw = $this->getBoxDimensions()->width;
- $temph = $this->getBoxDimensions()->height;
- $this->getBoxDimensions()->width -= 10;
- $this->getBoxDimensions()->height -= 10;
FunctionsPrint::printPedigreePerson($family->getSpouse($person), $this->showFull());
- $this->getBoxDimensions()->width = $tempw;
- $this->getBoxDimensions()->height = $temph;
- $numkids += 0.95;
+ $numkids++;
echo "</td><td></td>";
}
//-- add offset divs to make things line up better