user.install

Install, update and uninstall functions for the user module.

File

modules/user/user.install

Functions

Name Description
user_install Implements hook_install().
user_schema Implements hook_schema().
user_update_7000 Increase the length of the password field to accommodate better hashes.
user_update_7001
user_update_7002 Convert user time zones from time zone offsets to time zone names.
user_update_7003 Update user settings for cancelling user accounts.
user_update_7005 Changes the users table to allow longer e-mail addresses.
user_update_7006 Add module data to {role_permission}.
user_update_7007 Add a weight column to user roles.
user_update_7008 If 'user_register' variable was unset in Drupal 6, set it to be the same as the Drupal 6 default setting.
user_update_7009 Converts fields that store serialized variables from text to blob.
user_update_7010 Update the {user}.signature_format column.
user_update_7011 Placeholder function.
user_update_7012 Add the user's pictures to the {file_managed} table and make them managed files.
user_update_7013 Add user module file usage entries.
user_update_7014 Rename the 'post comments without approval' permission.
user_update_7015 Change {users}.signature_format into varchar.
user_update_7016 Update the database to match the schema.
user_update_7017 Update email templates to use new tokens.
user_update_7018 Ensure there is an index on {users}.picture.
user_update_7019 Ensure there is a combined index on {authmap}.uid and {authmap}.module.
user_update_dependencies Implements hook_update_dependencies().
_update_7000_user_role_grant_permissions Utility function: grant a set of permissions to a role during update.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!user!user.install/7.x