summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2010-04-08 21:33:47 +0000
committerfisharebest <fisharebest@gmail.com>2010-04-08 21:33:47 +0000
commit6a16062e00a7150ecebb57ed9cb4b58341a71dbd (patch)
treed7e1e4d075e660c2137835efb803c8c7544ca205 /includes
parent6cf8d1209bf6651e53af8fe1e239a525f31089d4 (diff)
downloadwebtrees-6a16062e00a7150ecebb57ed9cb4b58341a71dbd.tar.gz
webtrees-6a16062e00a7150ecebb57ed9cb4b58341a71dbd.tar.bz2
webtrees-6a16062e00a7150ecebb57ed9cb4b58341a71dbd.zip
Remove usused global
Diffstat (limited to 'includes')
-rw-r--r--includes/controllers/ancestry_ctrl.php2
-rw-r--r--includes/controllers/descendancy_ctrl.php2
-rw-r--r--includes/controllers/hourglass_ctrl.php2
3 files changed, 3 insertions, 3 deletions
diff --git a/includes/controllers/ancestry_ctrl.php b/includes/controllers/ancestry_ctrl.php
index bdf4294493..19830c6748 100644
--- a/includes/controllers/ancestry_ctrl.php
+++ b/includes/controllers/ancestry_ctrl.php
@@ -79,7 +79,7 @@ class AncestryControllerRoot extends BaseController {
* Initialization function
*/
function init() {
- global $USE_RIN, $MAX_ALIVE_AGE, $GEDCOM, $bwidth, $bheight, $pbwidth, $pbheight, $GEDCOM_DEFAULT_TAB, $PEDIGREE_FULL_DETAILS, $MAX_DESCENDANCY_GENERATIONS;
+ global $USE_RIN, $MAX_ALIVE_AGE, $GEDCOM, $bwidth, $bheight, $pbwidth, $pbheight, $PEDIGREE_FULL_DETAILS, $MAX_DESCENDANCY_GENERATIONS;
global $DEFAULT_PEDIGREE_GENERATIONS, $PEDIGREE_GENERATIONS, $MAX_PEDIGREE_GENERATIONS, $OLD_PGENS, $box_width, $Dbwidth, $Dbheight;
global $show_full;
diff --git a/includes/controllers/descendancy_ctrl.php b/includes/controllers/descendancy_ctrl.php
index 5424b23573..971864fbe2 100644
--- a/includes/controllers/descendancy_ctrl.php
+++ b/includes/controllers/descendancy_ctrl.php
@@ -95,7 +95,7 @@ class DescendancyControllerRoot extends BaseController {
* Initialization function
*/
function init() {
- global $USE_RIN, $MAX_ALIVE_AGE, $bwidth, $bheight, $pbwidth, $pbheight, $GEDCOM, $GEDCOM_DEFAULT_TAB, $PEDIGREE_FULL_DETAILS, $MAX_DESCENDANCY_GENERATIONS, $DEFAULT_PEDIGREE_GENERATIONS, $show_full;
+ global $USE_RIN, $MAX_ALIVE_AGE, $bwidth, $bheight, $pbwidth, $pbheight, $GEDCOM, $PEDIGREE_FULL_DETAILS, $MAX_DESCENDANCY_GENERATIONS, $DEFAULT_PEDIGREE_GENERATIONS, $show_full;
$this->sexarray["M"] = i18n::translate('Male');
$this->sexarray["F"] = i18n::translate('Female');
diff --git a/includes/controllers/hourglass_ctrl.php b/includes/controllers/hourglass_ctrl.php
index 1825a74ab2..c950e85eee 100644
--- a/includes/controllers/hourglass_ctrl.php
+++ b/includes/controllers/hourglass_ctrl.php
@@ -87,7 +87,7 @@ class HourglassControllerRoot extends BaseController {
* Initialization function
*/
function init($rootid='', $show_full=1, $generations=3) {
- global $USE_RIN, $MAX_ALIVE_AGE, $GEDCOM, $bheight, $bwidth, $bhalfheight, $GEDCOM_DEFAULT_TAB, $PEDIGREE_FULL_DETAILS, $MAX_DESCENDANCY_GENERATIONS;
+ global $USE_RIN, $MAX_ALIVE_AGE, $GEDCOM, $bheight, $bwidth, $bhalfheight, $PEDIGREE_FULL_DETAILS, $MAX_DESCENDANCY_GENERATIONS;
global $WT_IMAGES, $WT_IMAGE_DIR, $TEXT_DIRECTION, $show_full;
// Extract parameters from from