aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engine/lib/notification.php2
-rw-r--r--mod/notifications/start.php2
-rw-r--r--views/default/usersettings/notifications.php (renamed from views/default/notifications/settings/usersettings.php)0
3 files changed, 2 insertions, 2 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index e75e6b34b..5a96b9623 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -360,7 +360,7 @@ function notification_init() {
register_notification_handler("email", "email_notify_handler");
// Add settings view to user settings & register action
- extend_elgg_settings_page('notifications/settings/usersettings', 'usersettings/user');
+ extend_elgg_settings_page('usersettings/notifications', 'usersettings/user');
elgg_register_plugin_hook_handler('usersettings:save', 'user', 'notification_user_settings_save');
}
diff --git a/mod/notifications/start.php b/mod/notifications/start.php
index eb9e4778e..15b079bda 100644
--- a/mod/notifications/start.php
+++ b/mod/notifications/start.php
@@ -18,7 +18,7 @@ function notifications_plugin_init() {
// Unset the default notification settings
elgg_unregister_plugin_hook_handler('usersettings:save', 'user', 'notification_user-settings_save');
- elgg_unextend_view('usersettings/user', 'notifications/settings/usersettings');
+ elgg_unextend_view('usersettings/user', 'usersettings/notifications');
// update notifications based on relationships changing
elgg_register_event_handler('delete', 'member', 'notifications_relationship_remove');
diff --git a/views/default/notifications/settings/usersettings.php b/views/default/usersettings/notifications.php
index afb142ebe..afb142ebe 100644
--- a/views/default/notifications/settings/usersettings.php
+++ b/views/default/usersettings/notifications.php