aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mod/notifications/start.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/notifications/start.php b/mod/notifications/start.php
index 57099dc4c..1bb99da35 100644
--- a/mod/notifications/start.php
+++ b/mod/notifications/start.php
@@ -17,7 +17,7 @@ function notifications_plugin_init() {
elgg_register_event_handler('pagesetup', 'system', 'notifications_plugin_pagesetup');
// Unset the default notification settings
- elgg_unregister_plugin_hook_handler('usersettings:save', 'user', 'notification_user-settings_save');
+ elgg_unregister_plugin_hook_handler('usersettings:save', 'user', 'notification_user_settings_save');
elgg_unextend_view('core/settings/account', 'core/settings/account/notifications');
// update notifications based on relationships changing