Avoid globals where possible

$logged => logged()
$account_logged => accountLogged()
This commit is contained in:
slawkens
2025-03-16 12:36:22 +01:00
parent a71f41193c
commit 13b8fcf454
85 changed files with 226 additions and 192 deletions

View File

@@ -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;
}