forked from GNUsocial/gnu-social
Merge branch 'testing' of gitorious.org:statusnet/mainline into 0.9.x
This commit is contained in:
commit
0d0749e224
@ -280,7 +280,7 @@ class RegisterAction extends Action
|
||||
function nicknameExists($nickname)
|
||||
{
|
||||
$user = User::staticGet('nickname', $nickname);
|
||||
return ($user !== false);
|
||||
return is_object($user);
|
||||
}
|
||||
|
||||
/**
|
||||
@ -300,7 +300,7 @@ class RegisterAction extends Action
|
||||
return false;
|
||||
}
|
||||
$user = User::staticGet('email', $email);
|
||||
return ($user !== false);
|
||||
return is_object($user);
|
||||
}
|
||||
|
||||
// overrrided to add entry-title class
|
||||
|
Loading…
Reference in New Issue
Block a user