From bcacb2a132d80944d8e74eaf99b51aaa4c3a8830 Mon Sep 17 00:00:00 2001
From: Jessica Severin <jessica@ebi.ac.uk>
Date: Mon, 13 Jun 2005 11:11:48 +0000
Subject: [PATCH] removed global_cleanup from Extensions to RunnableDB.  Now
 RunnableDB subclasses don't have any ensembl-hive extensions.  To get access
 to extended hive functionality one must inherit from Hive::Process.  A
 multiple inheritance is allowed like:   our @ISA = qw(
 Bio::EnsEMBL::Hive::Process Bio::EnsEMBL::Pipeline::RunnableDB );

---
 modules/Bio/EnsEMBL/Hive/Extensions.pm | 23 -----------------------
 1 file changed, 23 deletions(-)

diff --git a/modules/Bio/EnsEMBL/Hive/Extensions.pm b/modules/Bio/EnsEMBL/Hive/Extensions.pm
index 2987dae7b..a80623e1c 100755
--- a/modules/Bio/EnsEMBL/Hive/Extensions.pm
+++ b/modules/Bio/EnsEMBL/Hive/Extensions.pm
@@ -195,23 +195,6 @@ sub Bio::EnsEMBL::Analysis::stats
 # Bio::EnsEMBL::Pipeline::RunnableDB
 #######################################
 
-=head2 Bio::EnsEMBL::Pipeline::RunnableDB::global_cleanup
-
-  Arg [1]    : none
-  Description: method which user RunnableDB can override if it needs to clean up
-               any 'global within worker run time' files or data.
-  Returntype : 1
-  Exceptions : none
-  Caller     : Bio::EnsEMBL::Hive::Worker
-
-=cut
-
-sub Bio::EnsEMBL::Pipeline::RunnableDB::global_cleanup
-{
-  my $self = shift;
-  return 1;
-}
-
 sub Bio::EnsEMBL::Pipeline::RunnableDB::debug {
   my $self = shift;
   $self->{'_debug'} = shift if(@_);
@@ -224,12 +207,6 @@ sub Bio::EnsEMBL::Pipeline::RunnableDB::debug {
 # Bio::EnsEMBL::Analysis::RunnableDB
 #######################################
 
-sub Bio::EnsEMBL::Analysis::RunnableDB::global_cleanup
-{
-  my $self = shift;
-  return 1;
-}
-
 sub Bio::EnsEMBL::Analysis::RunnableDB::debug {
   my $self = shift;
   $self->{'_debug'} = shift if(@_);
-- 
GitLab