aboutsummaryrefslogtreecommitdiff
path: root/actions/plugins/usersettings
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2011-07-06 07:51:51 -0400
committerCash Costello <cash.costello@gmail.com>2011-07-06 07:51:51 -0400
commitb4f9682d2dae28db4ee183909be3ae439be2a858 (patch)
treea7d98cbd977e63df185a72fa539948820fa630ad /actions/plugins/usersettings
parent105abf94e68860d1d1d06ef6865d21c65f8a4dde (diff)
downloadelgg-b4f9682d2dae28db4ee183909be3ae439be2a858.tar.gz
elgg-b4f9682d2dae28db4ee183909be3ae439be2a858.tar.bz2
Fixes #2204 standardized the hooks/overrides for plugin settings and usersettings
Diffstat (limited to 'actions/plugins/usersettings')
-rw-r--r--actions/plugins/usersettings/save.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/actions/plugins/usersettings/save.php b/actions/plugins/usersettings/save.php
index c6214f68d..71ad2ad7b 100644
--- a/actions/plugins/usersettings/save.php
+++ b/actions/plugins/usersettings/save.php
@@ -39,8 +39,8 @@ if (!$user->canEdit()) {
$result = false;
-if (elgg_action_exists("usersettings/$plugin_id/save")) {
- action("usersettings/$plugin_id/save");
+if (elgg_action_exists("$plugin_id/usersettings/save")) {
+ action("$plugin_id/usersettings/save");
} else {
foreach ($params as $k => $v) {
// Save