aboutsummaryrefslogtreecommitdiff
path: root/engine/classes
diff options
context:
space:
mode:
Diffstat (limited to 'engine/classes')
-rw-r--r--engine/classes/ElggPlugin.php9
1 files changed, 0 insertions, 9 deletions
diff --git a/engine/classes/ElggPlugin.php b/engine/classes/ElggPlugin.php
index 2ad759f31..c57171eff 100644
--- a/engine/classes/ElggPlugin.php
+++ b/engine/classes/ElggPlugin.php
@@ -403,15 +403,6 @@ class ElggPlugin extends ElggObject {
return false;
}
- // Hook to validate setting
- // note this doesn't pass the namespaced name!
- $value = elgg_trigger_plugin_hook('plugin:usersetting', 'user', array(
- 'user' => $user,
- 'plugin' => $this->getID(),
- 'name' => $name,
- 'value' => $value
- ), $value);
-
// set the namespaced name.
$name = elgg_namespace_plugin_private_setting('user_setting', $name, $this->getID());