Converted all existing uses of cache.
This commit is contained in:
parent
af705232a8
commit
ccff9c7014
31 changed files with 108 additions and 144 deletions
|
|
@ -726,8 +726,7 @@ sub www_saveSettings {
|
|||
$session->db->write(
|
||||
"UPDATE userProfileData SET showMessageOnLoginSeen=0"
|
||||
);
|
||||
# Delete the user cache
|
||||
WebGUI::Cache->new( $session, [ "user" ] )->deleteChunk( [ "user" ] );
|
||||
$session->cache->flush;
|
||||
}
|
||||
|
||||
return www_editSettings($session, { errors => \@errors, message => $i18n->get("editSettings done") });
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue