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
6b69842f
Commit
6b69842f
authored
May 13, 2012
by
Dave Reid
Browse files
Clear the user entity controller cache when a real name is deleted.
parent
556ebcfb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
realname.module
realname.module
+2
-0
No files found.
realname.module
View file @
6b69842f
...
...
@@ -248,6 +248,7 @@ function realname_delete($uid) {
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
);
}
/**
...
...
@@ -256,6 +257,7 @@ function realname_delete_multiple(array $uids) {
function
realname_delete_all
()
{
db_delete
(
'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