Bugzilla – Attachment 19139 Details for
Bug 8798
Add the use of DBIx::Class
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug8798 Updated to remove tabs
Bug8798-Updated-to-remove-tabs.patch (text/plain), 1.86 KB, created by
Chris Cormack
on 2013-06-18 22:20:25 UTC
(
hide
)
Description:
Bug8798 Updated to remove tabs
Filename:
MIME Type:
Creator:
Chris Cormack
Created:
2013-06-18 22:20:25 UTC
Size:
1.86 KB
patch
obsolete
>From 5e57ef14c982a7027c0945700e97cb718eb45816 Mon Sep 17 00:00:00 2001 >From: Elliott Davis <elliott@bywatersolutions.com> >Date: Mon, 3 Sep 2012 22:22:12 -0500 >Subject: [PATCH] Bug8798 Updated to remove tabs > >Signed-off-by: wajasu <matted-34813@mypacks.net> >Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz> >--- > C4/Context.pm | 7 ++++--- > C4/Installer/PerlDependencies.pm | 4 ++-- > 2 files changed, 6 insertions(+), 5 deletions(-) > >diff --git a/C4/Context.pm b/C4/Context.pm >index db91d22..581c5a3 100644 >--- a/C4/Context.pm >+++ b/C4/Context.pm >@@ -1005,8 +1005,9 @@ sub _new_schema { > my $db_port = $context->config("port") || ''; > 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); >+ my $schema = Koha::Schema->connect( >+ "DBI:$db_driver:dbname=$db_name;host=$db_host;port=$db_port", >+ $db_user, $db_passwd ); > return $schema; > } > >@@ -1029,7 +1030,7 @@ sub schema { > my $self = shift; > my $sth; > >- if (defined($context->{"schema"}) && $context->{"schema"}->ping()) { >+ if ( defined( $context->{"schema"} ) && $context->{"schema"}->ping() ) { > return $context->{"schema"}; > } > >diff --git a/C4/Installer/PerlDependencies.pm b/C4/Installer/PerlDependencies.pm >index 2b1cdda..69208ff 100644 >--- a/C4/Installer/PerlDependencies.pm >+++ b/C4/Installer/PerlDependencies.pm >@@ -55,10 +55,10 @@ our $PERL_DEPS = { > 'min_ver' => '1.53' > }, > 'DBIx::Class::Schema::Loader' => { >- 'usage' => 'Core', >+ 'usage' => 'Core', > 'required' => '1', > 'min_ver' => '0.07000' >- }, >+ }, > 'Net::Z3950::ZOOM' => { > 'usage' => 'Core', > 'required' => '1', >-- >1.8.1.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8798
:
12403
|
12405
|
12429
|
12439
|
12442
|
12443
|
12453
|
12477
|
12478
|
12480
|
12481
|
12506
|
12520
|
12521
|
12538
|
17581
|
17582
|
17583
|
17584
|
17585
|
17586
|
19134
|
19137
|
19138
| 19139 |
19140
|
19141
|
19248
|
19249
|
19250
|
19251