summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-02 20:32:36 +0000
committerKjartan Mannes <kjartan@2.no-reply.drupal.org>2002-05-02 20:32:36 +0000
commita93b2a174020f373b434b339b0e9470b1782c276 (patch)
tree26cf43178ff0ac5861c9a5b6dd7d228229586bf4 /modules/user/user.module
parent837041f11529b59cafe0564a2dd4d341f2b0155a (diff)
downloadbrdo-a93b2a174020f373b434b339b0e9470b1782c276.tar.gz
brdo-a93b2a174020f373b434b339b0e9470b1782c276.tar.bz2
- user.module used a obsolete variable_get.
- set blocks for new users.
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index b3815ee30..df8dbe316 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -480,7 +480,7 @@ function user_block() {
$output .= "<input name=\"edit[remember_me]\" type=\"checkbox\" />". t("Remember me") ."<br />\n";
$output .= "<input name=\"edit[op]\" type=\"submit\" value=\"". t("Log in") ."\" /><br />\n";
$output .= "</form></div>\n";
- if (variable_get("account_register", 1)) {
+ if (variable_get("user_register", 1)) {
$output .= "&#187; ". lm(t("Register"), array("mod" => "user", "op" => "register"), t("Create a new user account.")) ."\n";
}
$output .= "<br />&#187; ". lm(t("New password"), array("mod" => "user", "op" => "password"), t("Request new password via e-mail")) ."<br />";