function realname_delete_multiple in Real Name 7
Same name and namespace in other branches
- 8 realname.module \realname_delete_multiple()
- 2.x realname.module \realname_delete_multiple()
Delete multiple real names.
Parameters
array $uids: An array of user IDs.
Related topics
1 call to realname_delete_multiple()
- realname_delete in ./
realname.module - Delete a real name.
File
- ./
realname.module, line 380 - Provides token-based name displays for users.
Code
function realname_delete_multiple(array $uids) {
db_delete('realname')
->condition('uid', $uids, 'IN')
->execute();
drupal_static_reset('realname_load_multiple');
entity_get_controller('user')
->resetCache($uids);
}