aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/notification.php
diff options
context:
space:
mode:
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");