summaryrefslogtreecommitdiff
path: root/pgv_to_wt.php
diff options
context:
space:
mode:
authorNigel Osborne <kiwi3685@me.com>2010-09-19 00:00:27 +0000
committerNigel Osborne <kiwi3685@me.com>2010-09-19 00:00:27 +0000
commitce62b8a883cb286a7b2fb9816155389547c95d65 (patch)
tree72d2e423aab05e7808589ca54d88fc55e4b9213f /pgv_to_wt.php
parentce35f739cc69b5d84736f7a054ae6e03637611c2 (diff)
downloadwebtrees-ce62b8a883cb286a7b2fb9816155389547c95d65.tar.gz
webtrees-ce62b8a883cb286a7b2fb9816155389547c95d65.tar.bz2
webtrees-ce62b8a883cb286a7b2fb9816155389547c95d65.zip
Remove commenting-out accidentally left in place.
Diffstat (limited to 'pgv_to_wt.php')
-rw-r--r--pgv_to_wt.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/pgv_to_wt.php b/pgv_to_wt.php
index 21382b3bb3..4579006f81 100644
--- a/pgv_to_wt.php
+++ b/pgv_to_wt.php
@@ -28,10 +28,10 @@ require './includes/session.php';
require WT_ROOT.'includes/functions/functions_edit.php';
// We can only import into an empty system, so deny access if we have already created a gedcom or added users.
-//if (WT_GED_ID || get_user_count()>1) {
-// header('Location: index.php');
-// exit;
-//}
+if (WT_GED_ID || get_user_count()>1) {
+ header('Location: index.php');
+ exit;
+}
// Must be logged in as an admin
if (!WT_USER_IS_ADMIN) {