From 0da04e6f1ce6209216deff82fe3982d2a09117b6 Mon Sep 17 00:00:00 2001
From: Ian Longden <ianl@sanger.ac.uk>
Date: Wed, 28 Sep 2005 15:11:21 +0000
Subject: [PATCH] sub moved

---
 modules/Bio/EnsEMBL/Registry.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/Bio/EnsEMBL/Registry.pm b/modules/Bio/EnsEMBL/Registry.pm
index faca667779..5807c627fb 100644
--- a/modules/Bio/EnsEMBL/Registry.pm
+++ b/modules/Bio/EnsEMBL/Registry.pm
@@ -854,7 +854,7 @@ sub load_registry_from_db{
   my @dbnames = map {$_->[0] } @$res;
   
   my %temp;
-  my $software_version = Bio::EnsEMBL::Utils::ConfigRegistry->software_version;
+  my $software_version = $self->software_version;
   print "Will only load $software_version databases\n" if ($verbose);
   for my $db (@dbnames){
     if($db =~ /^([a-z]+_[a-z]+_[a-z]+)_(\d+)_(\d+[a-z]*)/){
-- 
GitLab