[Koha-cvs] CVS: koha moremember.pl,1.17,1.18
Andrew Arensburger
arensb at users.sourceforge.net
Sat Oct 5 11:46:13 CEST 2002
Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv19745
Modified Files:
moremember.pl
Log Message:
Merged with arensb-context branch: use C4::Context->dbh instead of
&C4Connect, and generally prefer C4::Context over C4::Database.
Index: moremember.pl
===================================================================
RCS file: /cvsroot/koha/koha/moremember.pl,v
retrieving revision 1.17
retrieving revision 1.18
diff -C2 -r1.17 -r1.18
*** moremember.pl 30 Sep 2002 14:16:34 -0000 1.17
--- moremember.pl 5 Oct 2002 09:46:11 -0000 1.18
***************
*** 30,33 ****
--- 30,34 ----
use strict;
+ use C4::Context;
use C4::Output;
use CGI;
***************
*** 38,45 ****
use C4::Circulation::Circ2;
use C4::Koha;
- use C4::Database;
use HTML::Template;
! my $dbh=C4Connect;
my $input = new CGI;
--- 39,45 ----
use C4::Circulation::Circ2;
use C4::Koha;
use HTML::Template;
! my $dbh = C4::Context->dbh;
my $input = new CGI;
***************
*** 180,185 ****
push (@reservedata, \%row);
}
-
- $dbh->disconnect;
$template->param($data);
--- 180,183 ----
More information about the Koha-cvs
mailing list