aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorSteve Clay <steve@mrclay.org>2012-11-14 20:56:44 -0500
committerSteve Clay <steve@mrclay.org>2012-11-14 20:56:44 -0500
commit7758aea5e6dc9cca024491cbac6de447675e4ef0 (patch)
treefc0a86588118f4c4ad264acee4125f697b4cb0a3 /mod
parentcb8231ad16a9fbd9e4b5df9af8b8d79f563a2bbb (diff)
downloadelgg-7758aea5e6dc9cca024491cbac6de447675e4ef0.tar.gz
elgg-7758aea5e6dc9cca024491cbac6de447675e4ef0.tar.bz2
Style cleanup
Diffstat (limited to 'mod')
-rw-r--r--mod/uservalidationbyemail/start.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/mod/uservalidationbyemail/start.php b/mod/uservalidationbyemail/start.php
index a453f36a4..f44d2ab50 100644
--- a/mod/uservalidationbyemail/start.php
+++ b/mod/uservalidationbyemail/start.php
@@ -233,12 +233,14 @@ function uservalidationbyemail_public_pages($hook, $type, $return_value, $params
* @param string $type
* @param ElggUser $user
* @return bool
+ *
+ * @throws LoginException
*/
function uservalidationbyemail_check_manual_login($event, $type, $user) {
$access_status = access_get_show_hidden_status();
access_show_hidden_entities(TRUE);
- if(($user instanceof ElggUser) && !$user->isEnabled() && !$user->validated){
+ if (($user instanceof ElggUser) && !$user->isEnabled() && !$user->validated) {
// send new validation email
uservalidationbyemail_request_validation($user->getGUID());
@@ -250,6 +252,4 @@ function uservalidationbyemail_check_manual_login($event, $type, $user) {
}
access_show_hidden_entities($access_status);
-
- return $return;
}