summaryrefslogtreecommitdiff
path: root/app/Controller
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2015-02-11 13:20:55 +0000
committerGreg Roach <fisharebest@gmail.com>2015-02-11 13:20:55 +0000
commit95bc3e77f317beebfd029e3edf2435c0b190156d (patch)
tree7ca63bfa89078ab4a7463740e865477a23718c6b /app/Controller
parent5acfeaf101f8a958d49f04c9d0c308116dd00219 (diff)
downloadwebtrees-95bc3e77f317beebfd029e3edf2435c0b190156d.tar.gz
webtrees-95bc3e77f317beebfd029e3edf2435c0b190156d.tar.bz2
webtrees-95bc3e77f317beebfd029e3edf2435c0b190156d.zip
Fix scrutinizer warnings in pedigree controller
Diffstat (limited to 'app/Controller')
-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);