koha-cvs
[Top][All Lists]
Advanced

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

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


From: Andrew Arensburger
Subject: [Koha-cvs] CVS: koha/misc makeformats.pl,1.2,1.3
Date: Sat, 05 Oct 2002 03:16:30 -0700

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

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


Index: makeformats.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/makeformats.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** makeformats.pl      14 Aug 2002 18:12:54 -0000      1.2
--- makeformats.pl      5 Oct 2002 10:16:27 -0000       1.3
***************
*** 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 ----




reply via email to

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