fix typos in Shop/Cart.pm

This commit is contained in:
Colin Kuskie 2008-04-03 03:51:51 +00:00
parent c8e1c3c3d3
commit c2951f9456

View file

@ -115,7 +115,7 @@ sub delete {
$self->empty;
$self->session->db->write("delete from cart where cartId=?",[$self->getId]);
undef $self;
%itemCache{ref $self} = {};
$itemCache{ref $self} = {};
return undef;
}
@ -132,7 +132,7 @@ sub empty {
foreach my $item (@{$self->getItems}) {
$item->remove;
}
%itemCache{ref $self} = {};
$itemCache{ref $self} = {};
}
#-------------------------------------------------------------------