Index: user.module =================================================================== RCS file: /cvs/drupal/drupal/modules/user/user.module,v retrieving revision 1.907 diff -u -p -r1.907 user.module --- user.module 7 May 2008 19:34:24 -0000 1.907 +++ user.module 12 May 2008 19:14:31 -0000 @@ -230,11 +230,6 @@ function user_save($account, $array = ar if (is_object($account) && $account->uid) { user_module_invoke('update', $array, $account, $category); $data = unserialize(db_result(db_query('SELECT data FROM {users} WHERE uid = %d', $account->uid))); - // Consider users edited by an administrator as logged in, if they haven't - // already, so anonymous users can view the profile (if allowed). - if (empty($array['access']) && empty($account->access) && user_access('administer users')) { - $array['access'] = time(); - } foreach ($array as $key => $value) { // Fields that don't pertain to the users or user_roles // automatically serialized into the users.data column. @@ -297,11 +292,6 @@ function user_save($account, $array = ar if (!isset($array['created'])) { $array['created'] = time(); } - // Consider users created by an administrator as already logged in, so - // anonymous users can view the profile (if allowed). - if (empty($array['access']) && user_access('administer users')) { - $array['access'] = time(); - } $success = drupal_write_record('users', $array); if (!$success) {