summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/Controller/PedigreeController.php9
1 files changed, 1 insertions, 8 deletions
diff --git a/app/Controller/PedigreeController.php b/app/Controller/PedigreeController.php
index 432c321e3e..81b1b8aae2 100644
--- a/app/Controller/PedigreeController.php
+++ b/app/Controller/PedigreeController.php
@@ -41,16 +41,9 @@ class PedigreeController extends ChartController {
* Create a pedigree controller
*/
public function __construct() {
- global $WT_TREE;
- global $bwidth, $bheight, $baseyoffset, $basexoffset, $byspacing, $bxspacing, $show_full, $talloffset;
+ global $WT_TREE, $bwidth, $bheight, $baseyoffset, $basexoffset, $byspacing, $bxspacing, $show_full, $talloffset;
parent::__construct();
- $this->linewidth = Theme::theme()->parameter('line-width');
- $this->shadowcolor = Theme::theme()->parameter('shadow-color');
- $this->shadowblur = Theme::theme()->parameter('shadow-blur');
- $this->shadowoffsetX = Theme::theme()->parameter('shadow-offset-x');
- $this->shadowoffsetY = Theme::theme()->parameter('shadow-offset-y');
-
$this->show_full = Filter::getInteger('show_full', 0, 1, $WT_TREE->getPreference('PEDIGREE_FULL_DETAILS'));
$this->talloffset = Filter::getInteger('talloffset', 0, 3, $WT_TREE->getPreference('PEDIGREE_LAYOUT'));
$this->box_width = Filter::getInteger('box_width', 50, 300, 100);