[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/acqui.simple viewmarc.pl,1.4,1.5
From: |
Andrew Arensburger |
Subject: |
[Koha-cvs] CVS: koha/acqui.simple viewmarc.pl,1.4,1.5 |
Date: |
Sat, 05 Oct 2002 03:01:33 -0700 |
Update of /cvsroot/koha/koha/acqui.simple
In directory usw-pr-cvs1:/tmp/cvs-serv24416/acqui.simple
Modified Files:
viewmarc.pl
Log Message:
Merged with arensb-context branch: use C4::Context->dbh instead of
&C4Connect, and generally prefer C4::Context over C4::Database.
Index: viewmarc.pl
===================================================================
RCS file: /cvsroot/koha/koha/acqui.simple/viewmarc.pl,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** viewmarc.pl 14 Aug 2002 18:12:52 -0000 1.4
--- viewmarc.pl 5 Oct 2002 10:01:30 -0000 1.5
***************
*** 27,33 ****
my $starttime=gettime();
- use C4::Database;
- use CGI;
use strict;
use C4::Catalogue;
use C4::Biblio;
--- 27,33 ----
my $starttime=gettime();
use strict;
+ use CGI;
+ use C4::Context;
use C4::Catalogue;
use C4::Biblio;
***************
*** 36,40 ****
my $input = new CGI;
! my $dbh=C4Connect;
my $fields;
marcdefs();
--- 36,40 ----
my $input = new CGI;
! my $dbh = C4::Context->dbh;
my $fields;
marcdefs();
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/acqui.simple viewmarc.pl,1.4,1.5,
Andrew Arensburger <=