Commit 495fed86 authored by git's avatar git Committed by hass
Browse files

Issue #2769525 by joelpittet, Ronald van Belzen: User controller cache

needs to be cleared after update
parent ff1c4514
......@@ -354,6 +354,10 @@ function realname_update($account) {
if (drupal_strlen($realname)) {
$account->realname = $realname;
}
// Clear the entity cache.
entity_get_controller('user')->resetCache(array($account->uid));
return $realname;
}
......
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