Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (19 sloc) 0.494 kb
package LIMS2::Task::General::CleanReportCache;
use strict;
use warnings FATAL => 'all';
use Moose;
use LIMS2::Report;
use namespace::autoclean;
extends 'LIMS2::Task';
override abstract => sub {
'Delete stale entries from the report cache';
};
sub execute {
my ( $self, $opts, $args ) = @_;
my $verbose = $self->trace || $self->debug || $self->verbose;
LIMS2::Report::clean_cache( $self->model, $verbose );
return;
}
__PACKAGE__->meta->make_immutable;
1;
__END__
Jump to Line
Something went wrong with that request. Please try again.