1
0
Fork 0

Replace global $lang with system.language

This commit is contained in:
Hypolite Petovan 2018-07-09 22:37:51 -04:00
commit d0780ccf7d
6 changed files with 16 additions and 26 deletions

View file

@ -97,8 +97,6 @@ function user_deny($hash)
function regmod_content(App $a)
{
global $lang;
if (!local_user()) {
info(L10n::t('Please login.') . EOL);
$o = '<br /><br />' . Login::form($a->query_string, Config::get('config', 'register_policy') === REGISTER_CLOSED ? 0 : 1);