diff --git a/C4/Context.pm b/C4/Context.pm index c63641cc63..07b2b1309d 100644 --- a/C4/Context.pm +++ b/C4/Context.pm @@ -237,12 +237,13 @@ sub read_config_file { # Pass argument naming config file to read # sub db_scheme2dbi { my $name = shift; - + # for instance, we support only mysql, so don't care checking + return "mysql"; for ($name) { # FIXME - Should have other databases. - if (/mysql/i) { return("mysql"); } + if (/mysql/) { return("mysql"); } if (/Postgres|Pg|PostgresSQL/) { return("Pg"); } - if (/oracle/i) { return("Oracle"); } + if (/oracle/) { return("Oracle"); } } return undef; # Just in case }