aboutsummaryrefslogtreecommitdiff
path: root/actions/plugins
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-26 23:38:09 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-26 23:38:09 +0000
commitb5a87393452a7dc77cbaa52e3209bc25e0c22e79 (patch)
tree46825f758bbd72663bc77c3c86b8d805c17ed20f /actions/plugins
parentaeee52fb2992b060b80ec58a4da5216bf426993e (diff)
downloadelgg-b5a87393452a7dc77cbaa52e3209bc25e0c22e79.tar.gz
elgg-b5a87393452a7dc77cbaa52e3209bc25e0c22e79.tar.bz2
Fixes #3249 fixed name of actions exists function
git-svn-id: http://code.elgg.org/elgg/trunk@8862 36083f99-b078-4883-b0ff-0f9b5a30f544
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 d768d3604..f3c865b9f 100644
--- a/actions/plugins/settings/save.php
+++ b/actions/plugins/settings/save.php
@@ -26,7 +26,7 @@ $plugin_name = $plugin->manifest->getName();
$result = false;
// allow a plugin to override the save action for their settings
-if (elgg_action_exist("settings/$plugin_id/save")) {
+if (elgg_action_exists("settings/$plugin_id/save")) {
action("settings/$plugin_id/save");
} else {
foreach ($params as $k => $v) {
diff --git a/actions/plugins/usersettings/save.php b/actions/plugins/usersettings/save.php
index 794ce4046..9c1657388 100644
--- a/actions/plugins/usersettings/save.php
+++ b/actions/plugins/usersettings/save.php
@@ -39,7 +39,7 @@ if (!$user->canEdit()) {
$result = false;
-if (elgg_action_exist("usersettings/$plugin_id/save")) {
+if (elgg_action_exists("usersettings/$plugin_id/save")) {
action("usersettings/$plugin_id/save");
} else {
foreach ($params as $k => $v) {