Replace global $lang with system.language
This commit is contained in:
parent
adacf421a6
commit
d0780ccf7d
6 changed files with 16 additions and 26 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue