Some coding style corrections
This commit is contained in:
parent
c41ab549b4
commit
b8e932cb76
|
@ -92,8 +92,7 @@ b8\Database::setReadServers(array('{$dbHost}'));
|
|||
|
||||
if (empty($adminEmail)) {
|
||||
return;
|
||||
}
|
||||
else {
|
||||
} else {
|
||||
// verify e-mail format and re-ask if wrong
|
||||
while (! $this->controlFormat($adminEmail, FILTER_VALIDATE_EMAIL, $status)) {
|
||||
print $status;
|
||||
|
@ -171,6 +170,7 @@ b8\Database::setReadServers(array('{$dbHost}'));
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
return $status;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue