function user_import_install in User Import 7.3
Same name and namespace in other branches
- 5.2 user_import.install \user_import_install()
- 5 user_import.install \user_import_install()
- 6.4 user_import.install \user_import_install()
- 6.2 user_import.install \user_import_install()
- 7.2 user_import.install \user_import_install()
Implementation of hook_install().
File
- ./
user_import.install, line 152 - Import and update users from a comma separated file (csv).
Code
function user_import_install() {
// Add a new mail system for HTML emails.
$mail_system = variable_get('mail_system', array(
'default-system' => 'DefaultMailSystem',
));
$mail_system['user_import'] = 'UserImportMailSystem';
variable_set('mail_system', $mail_system);
}