[Koha-cvs] CVS: koha logout.pl,1.3,1.4

Andrew Arensburger arensb at users.sourceforge.net
Sat Oct 5 11:45:48 CEST 2002


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

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


Index: logout.pl
===================================================================
RCS file: /cvsroot/koha/koha/logout.pl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** logout.pl	14 Aug 2002 18:12:51 -0000	1.3
--- logout.pl	5 Oct 2002 09:45:46 -0000	1.4
***************
*** 20,24 ****
  
  use CGI;
! use C4::Database;
  
  my $query=new CGI;
--- 20,24 ----
  
  use CGI;
! use C4::Context;
  
  my $query=new CGI;
***************
*** 42,46 ****
  }
  
! my $dbh=C4Connect;
  
  # Check that this is the ip that created the session before deleting it
--- 42,46 ----
  }
  
! my $dbh = C4::Context->dbh;
  
  # Check that this is the ip that created the session before deleting it





More information about the Koha-cvs mailing list