aboutsummaryrefslogtreecommitdiff
path: root/install/ElggInstaller.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-03 02:43:39 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-10-03 02:43:39 +0000
commitb4771c0a66d33a7bd09d5e98646a75144e6abba0 (patch)
tree1659cc0ca89684fd13b8b39526297f9b56d0d3f3 /install/ElggInstaller.php
parentbb84319d6066d22034df42bbd3b0a82f1d46d474 (diff)
downloadelgg-b4771c0a66d33a7bd09d5e98646a75144e6abba0.tar.gz
elgg-b4771c0a66d33a7bd09d5e98646a75144e6abba0.tar.bz2
uservalidationbyemail is turned on by default so we need to have the first admin user validated
git-svn-id: http://code.elgg.org/elgg/trunk@6999 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'install/ElggInstaller.php')
-rw-r--r--install/ElggInstaller.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/install/ElggInstaller.php b/install/ElggInstaller.php
index 359ed8f99..bf648e552 100644
--- a/install/ElggInstaller.php
+++ b/install/ElggInstaller.php
@@ -1273,6 +1273,9 @@ class ElggInstaller {
return FALSE;
}
+ create_metadata($guid, 'validated', TRUE, '', 0, ACCESS_PUBLIC);
+ create_metadata($guid, 'validated_method', 'admin_user', '', 0, ACCESS_PUBLIC);
+
return TRUE;
}
}