koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha/marc updatedb2marc.pl,1.2,1.3


From: Andrew Arensburger
Subject: [Koha-cvs] CVS: koha/marc updatedb2marc.pl,1.2,1.3
Date: Sat, 05 Oct 2002 03:11:06 -0700

Update of /cvsroot/koha/koha/marc
In directory usw-pr-cvs1:/tmp/cvs-serv29741/marc

Modified Files:
        updatedb2marc.pl 
Log Message:
Merged with arensb-context branch: use C4::Context->dbh instead of
&C4Connect, and generally prefer C4::Context over C4::Database.


Index: updatedb2marc.pl
===================================================================
RCS file: /cvsroot/koha/koha/marc/updatedb2marc.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** updatedb2marc.pl    3 Oct 2002 11:25:40 -0000       1.2
--- updatedb2marc.pl    5 Oct 2002 10:11:04 -0000       1.3
***************
*** 23,36 ****
  use strict;
  require Exporter;
! #use C4::Database;
  use C4::Catalogue;
  use C4::Biblio;
  use MARC::Record;
  use MARC::File::USMARC;
- use C4::Context;
  
  #die;
! #my $dbh=&C4Connect;
! my $dbh=C4::Context->dbh;
  $dbh->do("delete from marc_biblio");
  $dbh->do("delete from marc_blob_subfield");
--- 23,34 ----
  use strict;
  require Exporter;
! use C4::Context;
  use C4::Catalogue;
  use C4::Biblio;
  use MARC::Record;
  use MARC::File::USMARC;
  
  #die;
! my $dbh = C4::Context->dbh;
  $dbh->do("delete from marc_biblio");
  $dbh->do("delete from marc_blob_subfield");




reply via email to

[Prev in Thread] Current Thread [Next in Thread]