mirror of
https://github.com/friendica/friendica
synced 2024-11-16 10:53:55 +00:00
355c42cb30
Conflicts: include/config.php update.php
10 lines
No EOL
214 B
PHP
10 lines
No EOL
214 B
PHP
<?php
|
|
|
|
function login_content(&$a) {
|
|
if(x($_SESSION,'theme'))
|
|
unset($_SESSION['theme']);
|
|
if(local_user())
|
|
goaway(z_root());
|
|
return login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);
|
|
|
|
} |