From c656493b42b5e6883183b05d696b65d246365d00 Mon Sep 17 00:00:00 2001 From: marcus Date: Wed, 18 Mar 2009 14:29:09 +0000 Subject: Disposed of unnecessary $result variables. git-svn-id: https://code.elgg.org/elgg/trunk@3167 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/users.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'engine/lib/users.php') diff --git a/engine/lib/users.php b/engine/lib/users.php index 283f5efcc..fd8c00073 100644 --- a/engine/lib/users.php +++ b/engine/lib/users.php @@ -1115,7 +1115,7 @@ throw new RegistrationException(elgg_echo('registration:invalidchars')); $result = true; - return $result = trigger_plugin_hook('registeruser:validate:username', 'all', array('username' => $username), $result); + return trigger_plugin_hook('registeruser:validate:username', 'all', array('username' => $username), $result); } /** @@ -1129,7 +1129,7 @@ if (strlen($password)<6) throw new RegistrationException(elgg_echo('registration:passwordtooshort')); $result = true; - return $result = trigger_plugin_hook('registeruser:validate:password', 'all', array('password' => $password), $result); + return trigger_plugin_hook('registeruser:validate:password', 'all', array('password' => $password), $result); } /** @@ -1145,7 +1145,7 @@ // Got here, so lets try a hook (defaulting to ok) $result = true; - return $result = trigger_plugin_hook('registeruser:validate:email', 'all', array('email' => $address), $result); + return trigger_plugin_hook('registeruser:validate:email', 'all', array('email' => $address), $result); } /** -- cgit v1.2.3