summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2014-01-25 11:53:58 +0000
committerGreg Roach <fisharebest@gmail.com>2014-01-25 11:53:58 +0000
commit0c55954ed945dfd2892affd336e252bdee1ab76f (patch)
treee3ea36161e7d269cdc04d47a0a9625b4511e6fce
parent4204ee384df7516910db3fb891290275bf9f04c8 (diff)
downloadwebtrees-0c55954ed945dfd2892affd336e252bdee1ab76f.tar.gz
webtrees-0c55954ed945dfd2892affd336e252bdee1ab76f.tar.bz2
webtrees-0c55954ed945dfd2892affd336e252bdee1ab76f.zip
Remove unused globals
-rw-r--r--includes/functions/functions_print.php2
-rw-r--r--modules_v3/GEDFact_assistant/_CENS/census_3_search_add.php1
-rw-r--r--modules_v3/GEDFact_assistant/_MEDIA/media_1_ctrl.php1
3 files changed, 1 insertions, 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;