You are here

function realname_delete_all in Real Name 7

Same name and namespace in other branches
  1. 8 realname.module \realname_delete_all()
  2. 2.x realname.module \realname_delete_all()

Delete all real names.

Related topics

1 call to realname_delete_all()
realname_settings_form_submit in ./realname.admin.inc
Form submission handler for realname_settings_form().

File

./realname.module, line 389
Provides token-based name displays for users.

Code

function realname_delete_all() {
  db_truncate('realname')
    ->execute();
  drupal_static_reset('realname_load_multiple');
  entity_get_controller('user')
    ->resetCache();
}