mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-19 12:13:25 +02:00
Avoid globals where possible
$logged => logged() $account_logged => accountLogged()
This commit is contained in:
@@ -17,8 +17,7 @@ $title = 'Create Account';
|
||||
if (setting('core.account_country'))
|
||||
require SYSTEM . 'countries.conf.php';
|
||||
|
||||
if($logged)
|
||||
{
|
||||
if(logged()) {
|
||||
echo 'Please logout before attempting to create a new account.';
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user