function user_import_cron in User Import 5
Same name and namespace in other branches
- 8 user_import.module \user_import_cron()
- 5.2 user_import.module \user_import_cron()
- 6.4 user_import.module \user_import_cron()
- 6.2 user_import.module \user_import_cron()
- 7.3 user_import.module \user_import_cron()
- 7 user_import.module \user_import_cron()
- 7.2 user_import.module \user_import_cron()
Implementation of hook_cron().
File
- ./
user_import.module, line 118 - Import users from a comma separated file (csv).
Code
function user_import_cron() {
$imports = _user_import_settings_select();
if (!$imports) {
return;
}
foreach ($imports as $import) {
if ($import['setting'] == 'test' || $import['setting'] == 'import') {
_user_import_process($import);
}
}
return;
}