cache: s/delete/remove/

This commit is contained in:
Doug Bell 2010-04-19 18:51:10 -05:00
parent 165be5b389
commit b767824711
17 changed files with 23 additions and 23 deletions

View file

@ -126,7 +126,7 @@ not be added to any group. Groups may not be added to themselves.
sub addGroups {
my $self = shift;
my $groups = shift;
$self->session->cache->delete($self->getId);
$self->session->cache->remove($self->getId);
GROUP: foreach my $gid (@{$groups}) {
next if ($gid eq '1');
next if ($gid eq $self->getId);
@ -233,7 +233,7 @@ sub clearCaches {
my $groups = $self->getAllGroupsFor();
my $cache = $self->session->cache;
foreach my $group ( $self->getId, @{ $groups } ) {
$cache->delete($group);
$cache->remove($group);
}
my $stow = $self->session->stow;
$stow->delete("groupObj");