Commit db9be104 authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Renamed AnalysisStats::update() to update_stats_and_monitor() in order to...

Renamed AnalysisStats::update() to update_stats_and_monitor() in order to restore the inherited update() method
parent 3bfa527e
......@@ -251,7 +251,7 @@ sub refresh {
sub update {
my $self = shift;
return unless($self->adaptor);
$self->adaptor->update($self);
$self->adaptor->update_stats_and_monitor($self);
}
sub update_status {
......
......@@ -121,18 +121,7 @@ sub refresh {
################
=head2 update
Arg [1] : Bio::EnsEMBL::Hive::AnalysisStats object
Example :
Description:
Returntype : Bio::EnsEMBL::Hive::Worker
Exceptions :
Caller :
=cut
sub update {
sub update_stats_and_monitor {
my ($self, $stats) = @_;
my $sql = "UPDATE analysis_stats SET status='".$stats->status."' ";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment