aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-18 14:29:09 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2009-03-18 14:29:09 +0000
commitc656493b42b5e6883183b05d696b65d246365d00 (patch)
tree4c1fe4dfb368874e74b2b62107377152f1e15350 /engine
parent544cf81e61ef93ee9e01e3937aab6fe82367b86c (diff)
downloadelgg-c656493b42b5e6883183b05d696b65d246365d00.tar.gz
elgg-c656493b42b5e6883183b05d696b65d246365d00.tar.bz2
Disposed of unnecessary $result variables.
git-svn-id: https://code.elgg.org/elgg/trunk@3167 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/users.php6
1 files changed, 3 insertions, 3 deletions
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);
}
/**