You are here

function simple_ldap_user_import_finished in Simple LDAP 7.2

Same name and namespace in other branches
  1. 7 simple_ldap_user/simple_ldap_user.admin.inc \simple_ldap_user_import_finished()

Called when the mass user import batch is finished.

1 string reference to 'simple_ldap_user_import_finished'
simple_ldap_user_import_submit in simple_ldap_user/simple_ldap_user.admin.inc
Submit handler for mass user import.

File

simple_ldap_user/simple_ldap_user.admin.inc, line 475
Functions for Simple LDAP User admin interface.

Code

function simple_ldap_user_import_finished($success, $results, $operations) {
  if ($success) {
    drupal_set_message(t('Imported @count users from LDAP.', array(
      '@count' => count($results),
    )));
  }
  else {
    drupal_set_message(t('A problem occurred while importing the users from LDAP.'));
  }
}