From 467d539e3922a9dd1fe0c0e846df810b9fd7fc4c Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sat, 30 Jan 2016 18:03:04 +0000 Subject: Remove dead code --- app/Controller/HourglassController.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) (limited to 'app/Controller/HourglassController.php') 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 ""; - //-- 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 ""; } //-- add offset divs to make things line up better -- cgit v1.3