@@ -, +, @@ Koha/Database.pm --- Koha/Database.pm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) --- a/Koha/Database.pm +++ a/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 --