friendica_2021.01_tupambae_.../mod/login.php
Alexander Kampmann 355c42cb30 Merge branch 'master' of https://github.com/friendica/friendica
Conflicts:
	include/config.php
	update.php
2012-04-05 13:39:15 +02:00

10 lines
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);
}