aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/notification.php
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-26 09:20:24 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-26 09:20:24 +0000
commitbc50cfe5538d8e558164f9a5df0bd418ccde4378 (patch)
treec282d6dcd88f0a85cdb0308c529001ef9ede0863 /engine/lib/notification.php
parent401fd957b30219a610014d4236de35b6220fd310 (diff)
downloadelgg-bc50cfe5538d8e558164f9a5df0bd418ccde4378.tar.gz
elgg-bc50cfe5538d8e558164f9a5df0bd418ccde4378.tar.bz2
Closes #89: Provide functionality for a user to set their email address in user settings
http://trac.elgg.org/elgg/ticket/89 git-svn-id: https://code.elgg.org/elgg/trunk@1138 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/lib/notification.php')
-rw-r--r--engine/lib/notification.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index aa2ecbfdd..8a2f2c432 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -248,6 +248,10 @@
// Register a notification handler for the default email method
register_notification_handler("email", "email_notify_handler");
+ // Add email settings
+ extend_elgg_settings_page('notifications/settings/email', 'usersettings/user');
+ register_action("email/save");
+
// Add settings view to user settings & register action
extend_elgg_settings_page('notifications/settings/usersettings', 'usersettings/user');
register_action("notifications/settings/usersettings/save");