function user_restrictions_update_7102 in User restrictions 7
Imports username and e-mail masks from the {access} table.
File
- ./
user_restrictions.install, line 109 - Implementing schema for the User restrictions module.
Code
function user_restrictions_update_7102(&$sandbox) {
// Use the batch operation defined in user_restrictions_ui
$batch = array(
'title' => t('Importing'),
'operations' => array(
array(
'user_restrictions_ui_import',
array(),
),
),
'file' => drupal_get_path('module', 'user_restrictions_ui') . '/user_restrictions_ui.admin.inc',
'finished' => 'user_restrictions_ui_import_finished',
);
batch_set($batch);
}