From 0c3966768c12cad4ca09975da90513b6cdcddbd7 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Wed, 4 Feb 2015 11:31:09 +0200 Subject: [PATCH] Purge /sol/ :problem when a problem is updated --- lib/Gruntmaster/Data/Result/Problem.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Gruntmaster/Data/Result/Problem.pm b/lib/Gruntmaster/Data/Result/Problem.pm index fe5523d..6b9b3bf 100644 --- a/lib/Gruntmaster/Data/Result/Problem.pm +++ b/lib/Gruntmaster/Data/Result/Problem.pm @@ -320,6 +320,7 @@ after qw/insert update delete/ => sub { my ($self) = @_; Gruntmaster::Data::purge '/pb/'; Gruntmaster::Data::purge '/pb/' . $self->id; + Gruntmaster::Data::purge '/sol/' . $self->id; }; sub is_private { -- 2.39.2