]> git.mxchange.org Git - friendica.git/blobdiff - mod/bookmarklet.php
Merge pull request #7039 from annando/api-reshare-quote
[friendica.git] / mod / bookmarklet.php
index be3e1fd33670e1a5638b3f42a55a6fe9fd9ea2c8..1c4d191c4f8d1fa21b89e4d6194cb915be585dc9 100644 (file)
@@ -20,7 +20,7 @@ function bookmarklet_content(App $a)
 {
        if (!local_user()) {
                $o = '<h2>' . L10n::t('Login') . '</h2>';
-               $o .= Login::form($a->query_string, intval(Config::get('config', 'register_policy')) === REGISTER_CLOSED ? false : true);
+               $o .= Login::form($a->query_string, intval(Config::get('config', 'register_policy')) === \Friendica\Module\Register::CLOSED ? false : true);
                return $o;
        }