Bugzilla – Attachment 51224 Details for
Bug 16445
Bug 12478 has added an unnecessary line to Koha/Database.pm
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16445: Revert changes made by bug 12478 to Koha/Database.pm
Bug-16445-Revert-changes-made-by-bug-12478-to-Koha.patch (text/plain), 1.13 KB, created by
Jonathan Druart
on 2016-05-04 19:47:32 UTC
(
hide
)
Description:
Bug 16445: Revert changes made by bug 12478 to Koha/Database.pm
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-05-04 19:47:32 UTC
Size:
1.13 KB
patch
obsolete
>From 41fdcb3d35933c0a969e342b04d4af93ed997698 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Wed, 4 May 2016 20:46:20 +0100 >Subject: [PATCH] Bug 16445: Revert changes made by bug 12478 to > Koha/Database.pm > >These changes were a mistake, let's revert them. >--- > Koha/Database.pm | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) > >diff --git a/Koha/Database.pm b/Koha/Database.pm >index ff289c2..a8f4eab 100644 >--- a/Koha/Database.pm >+++ b/Koha/Database.pm >@@ -41,8 +41,6 @@ use vars qw($database); > > __PACKAGE__->mk_accessors(qw( )); > >-our $schema; # the schema is a singleton >- > # _new_schema > # Internal helper function (not a method!). This creates a new > # database connection from the data given in the current context, and >@@ -112,7 +110,8 @@ creates one, and connects to the database. > > This database handle is cached for future use: if you call > C<$database-E<gt>schema> twice, you will get the same handle both >-times. If you need a second database handle, use C<&new_schema>. >+times. If you need a second database handle, use C<&new_schema> and >+possibly C<&set_schema>. > > =cut > >-- >2.7.0
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 16445
:
51224
|
51227
|
51255