function user_restrictions_install in User restrictions 7
Implements hook_install().
File
- ./
user_restrictions.install, line 70 - Implementing schema for the User restrictions module.
Code
function user_restrictions_install() {
db_query("UPDATE {system} SET weight = 10 WHERE name = 'user_restrictions' AND type = 'module'");
drupal_set_message(st('With the user_restrictions_ui module enabled, you may <a href="@import">import access rules</a>.', array(
'@import' => 'admin/config/people/user-restrictions/import',
)));
}