]> git.mxchange.org Git - friendica.git/blobdiff - mod/regmod.php
Replace global $lang with system.language
[friendica.git] / mod / regmod.php
index 083465984f75e0144fbdeb81ae4d151eee2a2d82..2a418fcda053def513c06560d68866b73572fa21 100644 (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);