From 55e61e6729ca774aa324145065e74f885532415a Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Wed, 4 May 2016 20:46:20 +0100 Subject: [PATCH] [PASSED QA] Bug 16445: Revert changes made by bug 12478 to Koha/Database.pm These changes were a mistake, let's revert them. Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer --- 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-Eschema> 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 -- 1.9.1