mirror of
https://github.com/friendica/friendica
synced 2024-11-10 14:22:54 +00:00
8 lines
No EOL
176 B
PHP
8 lines
No EOL
176 B
PHP
<?php
|
|
|
|
function login_content(&$a) {
|
|
if(x($_SESSION,'theme'))
|
|
unset($_SESSION['theme']);
|
|
return login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);
|
|
|
|
} |