Commit 25c584ce authored by hass's avatar hass
Browse files

Issue #2125737 by hass: Use db_truncate() to clear realname table

parent f1f729be
......@@ -310,7 +310,7 @@ function realname_delete_multiple(array $uids) {
* Delete all real names.
*/
function realname_delete_all() {
db_delete('realname')->execute();
db_truncate('realname')->execute();
drupal_static_reset('realname_load_multiple');
entity_get_controller('user')->resetCache();
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment