Skip to content
Snippets Groups Projects
Commit 335a213a authored by Glenn Proctor's avatar Glenn Proctor
Browse files

pass->password in db initialisation

parent e253c783
No related branches found
No related tags found
No related merge requests found
......@@ -81,8 +81,8 @@ if(defined($xref_hash{host})){
$host = $xref_hash{'host'};
$user = $xref_hash{'user'};
$dbname = $xref_hash{'dbname'};
if(defined($xref_hash{'pass'})){
$pass = $xref_hash{'pass'};
if(defined($xref_hash{'password'})){
$pass = $xref_hash{'password'};
}
else{
$pass = '';
......@@ -132,8 +132,8 @@ if(defined($species_hash{'species'})){
$host = $species_hash{'host'};
$user = $species_hash{'user'};
$dbname = $species_hash{'dbname'};
if(defined($species_hash{'pass'})){
$pass = $species_hash{'pass'};
if(defined($species_hash{'password'})){
$pass = $species_hash{'password'};
}
else{
$pass = '';
......
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