Revert "Coding convention applied - part 1"
This commit is contained in:
parent
9c2c483996
commit
7b352f3f74
181 changed files with 3507 additions and 4338 deletions
|
|
@ -54,7 +54,7 @@ function user_allow($hash) {
|
|||
|
||||
pop_lang();
|
||||
|
||||
if ($res) {
|
||||
if($res) {
|
||||
info( t('Account approved.') . EOL );
|
||||
return true;
|
||||
}
|
||||
|
|
@ -72,9 +72,8 @@ function user_deny($hash) {
|
|||
dbesc($hash)
|
||||
);
|
||||
|
||||
if (! dbm::is_result($register)) {
|
||||
if(! dbm::is_result($register))
|
||||
return false;
|
||||
}
|
||||
|
||||
$user = q("SELECT * FROM `user` WHERE `uid` = %d LIMIT 1",
|
||||
intval($register[0]['uid'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue