[Koha-cvs] CVS: koha/marc fill_usmarc.pl,1.5,1.6

Andrew Arensburger arensb at users.sourceforge.net
Sat Oct 5 12:10:45 CEST 2002


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

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


Index: fill_usmarc.pl
===================================================================
RCS file: /cvsroot/koha/koha/marc/fill_usmarc.pl,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -r1.5 -r1.6
*** fill_usmarc.pl	3 Oct 2002 11:25:39 -0000	1.5
--- fill_usmarc.pl	5 Oct 2002 10:10:42 -0000	1.6
***************
*** 21,27 ****
  # Suite 330, Boston, MA  02111-1307 USA
  
- use C4::Database;
  use strict;
! my $dbh=C4Connect;
  my $fields;
  marcdefs();
--- 21,28 ----
  # Suite 330, Boston, MA  02111-1307 USA
  
  use strict;
! use C4::Context;
! 
! my $dbh = C4::Context->dbh;
  my $fields;
  marcdefs();





More information about the Koha-cvs mailing list