[Koha-cvs] CVS: koha/misc fixcatalog.pl,1.2,1.2.2.1

Andrew Arensburger arensb at users.sourceforge.net
Fri Oct 4 04:45:07 CEST 2002


Update of /cvsroot/koha/koha/misc
In directory usw-pr-cvs1:/tmp/cvs-serv23942

Modified Files:
      Tag: arensb-context
	fixcatalog.pl 
Log Message:
Use C4::Connect instead of C4::Database, C4::Connect->dbh instead
C4Connect.


Index: fixcatalog.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/fixcatalog.pl,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -r1.2 -r1.2.2.1
*** fixcatalog.pl	14 Aug 2002 18:12:54 -0000	1.2
--- fixcatalog.pl	4 Oct 2002 02:45:05 -0000	1.2.2.1
***************
*** 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 ----





More information about the Koha-cvs mailing list