aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authorben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-09 11:27:58 +0000
committerben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-09 11:27:58 +0000
commit42b2d6c266866bbfac07c894d7fe3e6480915ee8 (patch)
tree645fe72a49f865df81d2b500d24fdf8d24cc88e8 /engine/lib
parent15d9fc69cf77f3bd967ce444413b3b8422576e9a (diff)
downloadelgg-42b2d6c266866bbfac07c894d7fe3e6480915ee8.tar.gz
elgg-42b2d6c266866bbfac07c894d7fe3e6480915ee8.tar.bz2
User validation no longer occurs on first install
git-svn-id: https://code.elgg.org/elgg/trunk@3133 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/users.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index 92268858c..630be8d80 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -1251,9 +1251,13 @@
}
}
+ global $registering_admin;
if (!$admin) {
$user->admin = true;
datalist_set('admin_registered',1);
+ $registering_admin = true;
+ } else {
+ $registering_admin = false;
}
// Turn on email notifications by default