From 0c55954ed945dfd2892affd336e252bdee1ab76f Mon Sep 17 00:00:00 2001 From: Greg Roach Date: Sat, 25 Jan 2014 11:53:58 +0000 Subject: Remove unused globals --- includes/functions/functions_print.php | 2 +- modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php | 1 - modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/includes/functions/functions_print.php b/includes/functions/functions_print.php index 777d68780f..0a5cbe26e0 100644 --- a/includes/functions/functions_print.php +++ b/includes/functions/functions_print.php @@ -37,7 +37,7 @@ if (!defined('WT_WEBTREES')) { * @param int $count on some charts it is important to keep a count of how many boxes were printed */ function print_pedigree_person($person, $style=1, $count=0, $personcount="1") { - global $HIDE_LIVE_PEOPLE, $SHOW_LIVING_NAMES, $GEDCOM; + global $GEDCOM; global $SHOW_HIGHLIGHT_IMAGES, $bwidth, $bheight, $PEDIGREE_FULL_DETAILS, $SHOW_PEDIGREE_PLACES; global $TEXT_DIRECTION, $DEFAULT_PEDIGREE_GENERATIONS, $OLD_PGENS, $talloffset, $PEDIGREE_LAYOUT; global $chart_style, $box_width, $generations, $show_spouse, $show_full; diff --git a/modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php b/modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php index a1442af122..058b544d0b 100644 --- a/modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php +++ b/modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php @@ -1271,7 +1271,6 @@ if (!defined('WT_WEBTREES')) { */ function print_pedigree_person_nav2($pid, $style=1, $count=0, $personcount="1", $currpid, $censyear) { - global $HIDE_LIVE_PEOPLE, $SHOW_LIVING_NAMES, $SCRIPT_NAME; global $SHOW_HIGHLIGHT_IMAGES, $bwidth, $bheight, $PEDIGREE_FULL_DETAILS, $SHOW_PEDIGREE_PLACES; global $TEXT_DIRECTION, $DEFAULT_PEDIGREE_GENERATIONS, $OLD_PGENS, $talloffset, $PEDIGREE_LAYOUT, $MEDIA_DIRECTORY; global $chart_style, $box_width, $generations, $show_spouse, $show_full; diff --git a/modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php b/modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php index e9a503bbd0..f3f2c40871 100644 --- a/modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php +++ b/modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php @@ -537,7 +537,6 @@ if ($pid=="") { * @param string $pid the Gedcom Xref ID of the to print */ function print_pedigree_person_nav2($pid) { - global $HIDE_LIVE_PEOPLE, $SHOW_LIVING_NAMES; global $SHOW_HIGHLIGHT_IMAGES, $bwidth, $bheight, $PEDIGREE_FULL_DETAILS, $SHOW_PEDIGREE_PLACES; global $TEXT_DIRECTION, $DEFAULT_PEDIGREE_GENERATIONS, $OLD_PGENS, $talloffset, $PEDIGREE_LAYOUT, $MEDIA_DIRECTORY; global $chart_style, $box_width, $generations, $show_spouse, $show_full; -- cgit v1.3