koha-cvs
[Top][All Lists]
Advanced

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

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


From: Andrew Arensburger
Subject: [Koha-cvs] CVS: koha logout.pl,1.3,1.4
Date: Sat, 05 Oct 2002 02:45:48 -0700

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




reply via email to

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