@@ -, +, @@ --- C4/Context.pm | 4 ++-- C4/Installer/PerlDependencies.pm | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) --- a/C4/Context.pm +++ a/C4/Context.pm @@ -901,7 +901,7 @@ sub _new_schema { my $db_user = $context->config("user"); my $db_passwd = $context->config("pass"); my $schema= Koha::Schema->connect("DBI:$db_driver:dbname=$db_name;host=$db_host;port=$db_port", - $db_user, $db_passwd); + $db_user, $db_passwd); return $schema; } @@ -925,7 +925,7 @@ sub schema { my $sth; if (defined($context->{"schema"}) && $context->{"schema"}->ping()) { - return $context->{"schema"}; + return $context->{"schema"}; } # No database handle or it died . Create one. --- a/C4/Installer/PerlDependencies.pm +++ a/C4/Installer/PerlDependencies.pm @@ -55,7 +55,7 @@ our $PERL_DEPS = { 'min_ver' => '1.53' }, 'DBIx::Class::Schema::Loader' => { - 'usage' => 'Core', + 'usage' => 'Core', 'required' => '1', 'min_ver' => '0.07000' }, --