From 9b154f8bc086cec3984d3f6b3aa773f43fe84738 Mon Sep 17 00:00:00 2001 From: Jonathan Druart 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. Signed-off-by: Chris Cormack Signed-off-by: Katrin Fischer Signed-off-by: Brendan Gallagher --- Koha/Database.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Koha/Database.pm b/Koha/Database.pm index ff289c220d..a8f4eab9a8 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 -- 2.39.5