You are here

function user_import_errors in User Import 5.2

Same name and namespace in other branches
  1. 8 user_import.import.inc \user_import_errors()
  2. 5 user_import.module \user_import_errors()
  3. 6.4 user_import.import.inc \user_import_errors()
  4. 6.2 user_import.import.inc \user_import_errors()
  5. 7.3 user_import.import.inc \user_import_errors()
  6. 7 user_import.import.inc \user_import_errors()
  7. 7.2 user_import.import.inc \user_import_errors()
2 calls to user_import_errors()
_user_import_process in ./user_import.module
_user_import_validate_email in supported/user.inc
1 string reference to 'user_import_errors'
user_import_update_1 in ./user_import.install

File

./user_import.module, line 804
Import users from a comma separated file (csv).

Code

function user_import_errors($error = FALSE, $clear = FALSE) {
  static $errors = array();
  if ($clear) {
    $errors = array();
  }
  if ($error) {
    $errors[] = $error;
  }
  return $errors;
}