Replace global $lang with system.language
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user