summaryrefslogtreecommitdiff
path: root/modules_v3/html
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2012-09-15 08:21:43 +0000
committerfisharebest <fisharebest@gmail.com>2012-09-15 08:21:43 +0000
commitcc5c6fc057df6ef1eda0b0a1fa4df71888a56ad6 (patch)
tree1d63190b68fbe4ce918ed5cebda1dba9fe374bb0 /modules_v3/html
parent78d5649145dd7cb1901760a2e2b7b8fd49f366df (diff)
downloadwebtrees-cc5c6fc057df6ef1eda0b0a1fa4df71888a56ad6.tar.gz
webtrees-cc5c6fc057df6ef1eda0b0a1fa4df71888a56ad6.tar.bz2
webtrees-cc5c6fc057df6ef1eda0b0a1fa4df71888a56ad6.zip
Remove unnecessary check - if a gedcom is unimported, we cannot get to the index page.
Diffstat (limited to 'modules_v3/html')
-rw-r--r--modules_v3/html/module.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/modules_v3/html/module.php b/modules_v3/html/module.php
index 26222b087c..cca56476be 100644
--- a/modules_v3/html/module.php
+++ b/modules_v3/html/module.php
@@ -68,9 +68,7 @@ class html_WT_Module extends WT_Module implements WT_Module_Block {
}
break;
default:
- if (get_gedcom_setting(get_gedcom_from_id($gedcom), 'imported')) {
- $GEDCOM = $gedcom;
- }
+ $GEDCOM = $gedcom;
break;
}