[Koha-cvs] CVS: koha updatecharges.pl,1.2,1.2.2.1

Andrew Arensburger arensb at users.sourceforge.net
Fri Oct 4 04:21:44 CEST 2002


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

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


Index: updatecharges.pl
===================================================================
RCS file: /cvsroot/koha/koha/updatecharges.pl,v
retrieving revision 1.2
retrieving revision 1.2.2.1
diff -C2 -r1.2 -r1.2.2.1
*** updatecharges.pl	14 Aug 2002 18:12:51 -0000	1.2
--- updatecharges.pl	4 Oct 2002 02:21:42 -0000	1.2.2.1
***************
*** 26,31 ****
  use strict;
  use CGI;
  use C4::Output;
- use C4::Database;
  
  my $input = new CGI;
--- 26,31 ----
  use strict;
  use CGI;
+ use C4::Context;
  use C4::Output;
  
  my $input = new CGI;
***************
*** 35,39 ****
  
  
! my $dbh=C4Connect;
  #print $input->dump;
  my @names=$input->param();
--- 35,39 ----
  
  
! my $dbh = C4::Context->dbh;
  #print $input->dump;
  my @names=$input->param();
***************
*** 52,56 ****
    $sth->finish;
  }
- $dbh->disconnect;
  print $input->redirect("/cgi-bin/koha/charges.pl");
  #print endmenu('issue');
--- 52,55 ----





More information about the Koha-cvs mailing list