You are here

function user_import_cron in User Import 5.2

Same name and namespace in other branches
  1. 8 user_import.module \user_import_cron()
  2. 5 user_import.module \user_import_cron()
  3. 6.4 user_import.module \user_import_cron()
  4. 6.2 user_import.module \user_import_cron()
  5. 7.3 user_import.module \user_import_cron()
  6. 7 user_import.module \user_import_cron()
  7. 7.2 user_import.module \user_import_cron()

File

./user_import.module, line 121
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;
}