You are here

function ldap_user_update_7204 in Lightweight Directory Access Protocol (LDAP) 7.2

Same name and namespace in other branches
  1. 8.2 ldap_user/ldap_user.install \ldap_user_update_7204()

Make sure all user entity field instances are created.

1 call to ldap_user_update_7204()
ldap_user_update_7205 in ldap_user/ldap_user.install
Make sure all user entity field instances are created.

File

ldap_user/ldap_user.install, line 472
Install, update and uninstall functions for the LDAP User module.

Code

function ldap_user_update_7204() {
  $fields_added = ldap_user_update_check_user_fields();
  if (count($fields_added)) {
    $fields = join(', ', $fields_added);
    return t('%fields added to user entity.', [
      '%fields' => $fields,
    ]);
  }
  else {
    return t('no fields needed to be added to user entity.');
  }
}