summaryrefslogtreecommitdiff
path: root/modules/user/user.module
diff options
context:
space:
mode:
authorSteven Wittens <steven@10.no-reply.drupal.org>2006-08-03 01:02:51 +0000
committerSteven Wittens <steven@10.no-reply.drupal.org>2006-08-03 01:02:51 +0000
commit38e4c1ae91545d0c45885966cad694660010068d (patch)
tree8edc167d1723e2f9ec3033779007fbc13a8adbe2 /modules/user/user.module
parent8b820834e5c7ee12668c8f3a172dabc3af0455ba (diff)
downloadbrdo-38e4c1ae91545d0c45885966cad694660010068d.tar.gz
brdo-38e4c1ae91545d0c45885966cad694660010068d.tar.bz2
#76209: (Eaton et al)
- Make installer code integrate better with module.inc / system.module - Fix schema version bug when installing core
Diffstat (limited to 'modules/user/user.module')
-rw-r--r--modules/user/user.module4
1 files changed, 0 insertions, 4 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index a4d120e72..e95a8921a 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1207,10 +1207,6 @@ function user_register_submit($form_id, $form_values) {
drupal_set_message(t('<p>Welcome to Drupal. You are user #1, which gives you full and immediate access. All future registrants will receive their passwords via e-mail, so please make sure your website e-mail address is set properly under the general settings on the <a href="%settings">site information settings page</a>.</p><p> Your password is <strong>%pass</strong>. You may change your password below.</p>', array('%pass' => $pass, '%settings' => url('admin/settings/site-information'))));
user_authenticate($account->name, trim($pass));
- // Set the installed schema version of the system module to the most recent version.
- include_once './includes/install.inc';
- drupal_set_installed_schema_version('system', max(drupal_get_schema_versions('system')));
-
return 'user/1/edit';
}
else {