Flush cache for User and Group tests to pass.
Add group cache clear to Group.pm templateId clash due fixed
This commit is contained in:
parent
799eb114eb
commit
1c6fec6695
4 changed files with 20 additions and 9 deletions
|
|
@ -151,8 +151,7 @@ An override for the default offset of the grouping. Specified in seconds.
|
|||
sub addUsers {
|
||||
my $self = shift;
|
||||
my $users = shift;
|
||||
WebGUI::Cache->new($self->session, $self->getId)->delete;
|
||||
$self->session->stow->delete("isInGroup");
|
||||
$self->clearCaches();
|
||||
my $expireOffset = shift || $self->get("expireOffset");
|
||||
foreach my $uid (@{$users}) {
|
||||
next if ($uid eq '1' and !isIn($self->getId, 1, 7));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue