fixed user profile cache problem.
This commit is contained in:
parent
7576dbfa78
commit
fd212e9110
1 changed files with 4 additions and 1 deletions
|
|
@ -24,6 +24,7 @@ use Tie::CPHash;
|
|||
use WebGUI::Config;
|
||||
use WebGUI::ErrorHandler;
|
||||
use WebGUI::Id;
|
||||
use WebGUI::Cache;
|
||||
use WebGUI::Setting;
|
||||
use WebGUI::SQL;
|
||||
use WebGUI::User;
|
||||
|
|
@ -413,7 +414,9 @@ Refreshes the user's information from the database into this user session.
|
|||
=cut
|
||||
|
||||
sub refreshUserInfo {
|
||||
_setupUserInfo($_[0]);
|
||||
my $userId = shift;
|
||||
WebGUI::Cache->new(["user",$userId])->delete;
|
||||
_setupUserInfo($userId);
|
||||
$session{isInGroup} = ();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue