Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
drupal.org
realname
Commits
25c584ce
Commit
25c584ce
authored
Nov 02, 2013
by
hass
Browse files
Issue #2125737 by hass: Use db_truncate() to clear realname table
parent
f1f729be
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
realname.module
realname.module
+1
-1
No files found.
realname.module
View file @
25c584ce
...
...
@@ -310,7 +310,7 @@ function realname_delete_multiple(array $uids) {
* Delete all real names.
*/
function
realname_delete_all
()
{
db_
dele
te
(
'realname'
)
->
execute
();
db_
trunca
te
(
'realname'
)
->
execute
();
drupal_static_reset
(
'realname_load_multiple'
);
entity_get_controller
(
'user'
)
->
resetCache
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment