From 38e4c1ae91545d0c45885966cad694660010068d Mon Sep 17 00:00:00 2001 From: Steven Wittens Date: Thu, 3 Aug 2006 01:02:51 +0000 Subject: #76209: (Eaton et al) - Make installer code integrate better with module.inc / system.module - Fix schema version bug when installing core --- modules/user/user.module | 4 ---- 1 file changed, 4 deletions(-) (limited to 'modules/user/user.module') 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('

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 site information settings page.

Your password is %pass. You may change your password below.

', 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 { -- cgit v1.2.3