aboutsummaryrefslogtreecommitdiff
path: root/actions/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'actions/plugins')
-rw-r--r--actions/plugins/settings/save.php2
-rw-r--r--actions/plugins/usersettings/save.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/actions/plugins/settings/save.php b/actions/plugins/settings/save.php
index e21bc1122..f503c9e9f 100644
--- a/actions/plugins/settings/save.php
+++ b/actions/plugins/settings/save.php
@@ -35,7 +35,7 @@
}
// An event to tell any interested plugins of the change is settings
- trigger_elgg_event('plugin_settings_save', $plugin, find_plugin_settings($plugin));
+ //trigger_elgg_event('plugin_settings_save', $plugin, find_plugin_settings($plugin)); // replaced by plugin:setting event
system_message(sprintf(elgg_echo('plugins:settings:save:ok'), $plugin));
forward($_SERVER['HTTP_REFERER']);
diff --git a/actions/plugins/usersettings/save.php b/actions/plugins/usersettings/save.php
index 342e6c444..c30dc02ca 100644
--- a/actions/plugins/usersettings/save.php
+++ b/actions/plugins/usersettings/save.php
@@ -35,7 +35,7 @@
}
// An event to tell any interested plugins of the change is settings
- trigger_elgg_event('plugin_usersettings_save', $plugin, find_plugin_settings($plugin));
+ //trigger_elgg_event('plugin_usersettings_save', $plugin, find_plugin_settings($plugin)); // replaced by plugin:usersetting event
system_message(sprintf(elgg_echo('plugins:usersettings:save:ok'), $plugin));
forward($_SERVER['HTTP_REFERER']);