[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/misc fixcatalog.pl,1.2,1.3
From: |
Andrew Arensburger |
Subject: |
[Koha-cvs] CVS: koha/misc fixcatalog.pl,1.2,1.3 |
Date: |
Sat, 05 Oct 2002 03:15:53 -0700 |
Update of /cvsroot/koha/koha/misc
In directory usw-pr-cvs1:/tmp/cvs-serv31549/misc
Modified Files:
fixcatalog.pl
Log Message:
Merged with arensb-context branch: use C4::Context->dbh instead of
&C4Connect, and generally prefer C4::Context over C4::Database.
Index: fixcatalog.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/fixcatalog.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** fixcatalog.pl 14 Aug 2002 18:12:54 -0000 1.2
--- fixcatalog.pl 5 Oct 2002 10:15:51 -0000 1.3
***************
*** 19,26 ****
# Suite 330, Boston, MA 02111-1307 USA
! use C4::Database;
use strict;
! my $dbh=C4Connect;
my $sth=$dbh->prepare("Select biblio.biblionumber,biblio.title from
biblio,catalogueentry where catalogueentry.entrytype
--- 19,26 ----
# Suite 330, Boston, MA 02111-1307 USA
! use C4::Context;
use strict;
! my $dbh = C4::Context->dbh;
my $sth=$dbh->prepare("Select biblio.biblionumber,biblio.title from
biblio,catalogueentry where catalogueentry.entrytype
***************
*** 35,39 ****
}
$sth->finish;
-
-
- $dbh->disconnect;
--- 35,36 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/misc fixcatalog.pl,1.2,1.3,
Andrew Arensburger <=