aboutsummaryrefslogtreecommitdiff
path: root/engine/lib
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-01 17:56:18 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-01 17:56:18 +0000
commit8f3bb0af70316339833e5ca2ac3f57cca188c34a (patch)
tree0dcdaf7abc7eb86f6c3eb1aa5988aac9e282bae5 /engine/lib
parent7c41cfb0b18540a293826bfab3096247b1cc1e10 (diff)
downloadelgg-8f3bb0af70316339833e5ca2ac3f57cca188c34a.tar.gz
elgg-8f3bb0af70316339833e5ca2ac3f57cca188c34a.tar.bz2
Closes #108
git-svn-id: https://code.elgg.org/elgg/trunk@1254 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib')
-rw-r--r--engine/lib/users.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/engine/lib/users.php b/engine/lib/users.php
index bc308ff82..20a974430 100644
--- a/engine/lib/users.php
+++ b/engine/lib/users.php
@@ -900,7 +900,10 @@
if (!$admin) {
$user->admin = true;
datalist_set('admin_registered',1);
- }
+ }
+
+ // Turn on email notifications by default
+ set_user_notification_setting($user->getGUID(), 'email', true);
// Send email validation request
request_email_validation($user->getGUID());