friendica/mod/login.php
2011-01-07 04:33:34 -08:00

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