[Koha-cvs] CVS: koha thesaurus_popup.pl,1.2,1.3

Andrew Arensburger arensb at users.sourceforge.net
Sat Oct 5 11:46:55 CEST 2002


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

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


Index: thesaurus_popup.pl
===================================================================
RCS file: /cvsroot/koha/koha/thesaurus_popup.pl,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** thesaurus_popup.pl	14 Aug 2002 18:12:51 -0000	1.2
--- thesaurus_popup.pl	5 Oct 2002 09:46:53 -0000	1.3
***************
*** 24,28 ****
  use strict;
  use CGI;
! use C4::Database;
  use C4::Search;
  use C4::Circulation::Circ2;
--- 24,28 ----
  use strict;
  use CGI;
! use C4::Context;
  use C4::Search;
  use C4::Circulation::Circ2;
***************
*** 38,42 ****
  my $freelib_text = $input->param('freelib_text');
  
! my $dbh=C4Connect;
  
  # make the page ...
--- 38,42 ----
  my $freelib_text = $input->param('freelib_text');
  
! my $dbh = C4::Context->dbh;
  
  # make the page ...





More information about the Koha-cvs mailing list