koha-cvs
[Top][All Lists]
Advanced

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

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


From: Andrew Arensburger
Subject: [Koha-cvs] CVS: koha/misc fixrefs.pl,1.2,1.2.2.1
Date: Thu, 03 Oct 2002 19:45:20 -0700

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

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


Index: fixrefs.pl
===================================================================
RCS file: /cvsroot/koha/koha/misc/fixrefs.pl,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -r1.2 -r1.2.2.1
*** fixrefs.pl  14 Aug 2002 18:12:54 -0000      1.2
--- fixrefs.pl  4 Oct 2002 02:45:18 -0000       1.2.2.1
***************
*** 20,26 ****
  
  use strict;
! use C4::Database;
  
! my $dbh=C4Connect;
  my $count=0;
  my $query="Select * from biblioitems where itemtype='REF' or itemtype='TREF'";
--- 20,26 ----
  
  use strict;
! use C4::Context;
  
! my $dbh = C4::Context->dbh;
  my $count=0;
  my $query="Select * from biblioitems where itemtype='REF' or itemtype='TREF'";
***************
*** 35,39 ****
  }
  $sth->finish;
- 
- 
- $dbh->disconnect;
--- 35,36 ----




reply via email to

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