From 2bb58d49502f22c095e8baaa299bc10095f158de Mon Sep 17 00:00:00 2001 From: brettp Date: Wed, 9 Feb 2011 01:25:42 +0000 Subject: Refs #2869: Fixed problems when deleting user settings using wrapper function. git-svn-id: http://code.elgg.org/elgg/trunk@8085 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/classes/ElggPlugin.php | 9 --------- 1 file changed, 9 deletions(-) (limited to 'engine/classes') 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()); -- cgit v1.2.3