View | Details | Raw Unified | Return to bug 8798
Collapse All | Expand All

(-)a/C4/Context.pm (-2 / +2 lines)
Lines 901-907 sub _new_schema { Link Here
901
    my $db_user   = $context->config("user");
901
    my $db_user   = $context->config("user");
902
    my $db_passwd = $context->config("pass");
902
    my $db_passwd = $context->config("pass");
903
    my $schema= Koha::Schema->connect("DBI:$db_driver:dbname=$db_name;host=$db_host;port=$db_port",
903
    my $schema= Koha::Schema->connect("DBI:$db_driver:dbname=$db_name;host=$db_host;port=$db_port",
904
					    $db_user, $db_passwd);
904
                                            $db_user, $db_passwd);
905
    return $schema;
905
    return $schema;
906
}
906
}
907
907
Lines 925-931 sub schema { Link Here
925
    my $sth;
925
    my $sth;
926
    
926
    
927
    if (defined($context->{"schema"}) && $context->{"schema"}->ping()) {
927
    if (defined($context->{"schema"}) && $context->{"schema"}->ping()) {
928
	return $context->{"schema"};
928
        return $context->{"schema"};
929
    }
929
    }
930
    
930
    
931
    # No database handle or it died . Create one.
931
    # No database handle or it died . Create one.
(-)a/C4/Installer/PerlDependencies.pm (-2 / +1 lines)
Lines 55-61 our $PERL_DEPS = { Link Here
55
        'min_ver'  => '1.53'
55
        'min_ver'  => '1.53'
56
    },
56
    },
57
    'DBIx::Class::Schema::Loader' => {
57
    'DBIx::Class::Schema::Loader' => {
58
	'usage'    => 'Core',
58
        'usage'    => 'Core',
59
        'required' => '1',
59
        'required' => '1',
60
        'min_ver'  => '0.07000'
60
        'min_ver'  => '0.07000'
61
     },
61
     },
62
- 

Return to bug 8798