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

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


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

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


Index: makeformats.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/makeformats.pl,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -r1.2 -r1.2.2.1
*** makeformats.pl	14 Aug 2002 18:12:54 -0000	1.2
--- makeformats.pl	4 Oct 2002 02:45:33 -0000	1.2.2.1
***************
*** 20,26 ****
  
  use strict;
! use C4::Database;
  
! my $dbh=C4Connect;
  my $count=0;
  my $query="Select biblionumber from aqorders where datereceived = '0000-00-00'";
--- 20,26 ----
  
  use strict;
! use C4::Context;
  
! my $dbh = C4::Context->dbh;
  my $count=0;
  my $query="Select biblionumber from aqorders where datereceived = '0000-00-00'";
***************
*** 49,53 ****
  }
  $sth->finish;
- 
- 
- $dbh->disconnect;
--- 49,50 ----





More information about the Koha-cvs mailing list