3 function login_content(App $a) {
4 if (x($_SESSION, 'theme')) {
5 unset($_SESSION['theme']);
7 if (x($_SESSION, 'mobile-theme')) {
8 unset($_SESSION['mobile-theme']);
15 return login(($a->config['register_policy'] == REGISTER_CLOSED) ? false : true);