Skip to content

Commit

Permalink
Merge pull request #7776 from jeabakker/notifications_unregister_func…
Browse files Browse the repository at this point in the history
…tion2

fix(notifications): correctly unregister the default notifications save function
  • Loading branch information
jdalsem committed Jan 13, 2015
2 parents 198523d + f2adb5e commit 4dfe33b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mod/notifications/start.php
Expand Up @@ -16,7 +16,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', '_elgg_save_notification_user_settings');
elgg_unextend_view('forms/account/settings', 'core/settings/account/notifications');

// update notifications based on relationships changing
Expand Down

0 comments on commit 4dfe33b

Please sign in to comment.