]> iEval git - gruntmaster-data.git/commitdiff
Purge /sol/ :problem when a problem is updated
authorMarius Gavrilescu <marius@ieval.ro>
Wed, 4 Feb 2015 09:31:09 +0000 (11:31 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Wed, 4 Feb 2015 09:31:09 +0000 (11:31 +0200)
lib/Gruntmaster/Data/Result/Problem.pm

index fe5523d62ced72ae2b9fa3316a63244eeffdacfe..6b9b3bfff02ae3156c9332d5aa4cd0c35ed00641 100644 (file)
@@ -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 {
This page took 0.023512 seconds and 4 git commands to generate.