[PHPLIB-DEV] cvs commit From: kk (phplib-dev <email protected>)
Date: 02/16/00

From: kk
Date: Wed Feb 16 08:38:09 2000
Modified files:
      php-lib/php/session.inc

Log message:
- Session::gc() was double definition. Removed unconditional version,
  because container classes only garbage collect, but do not handle
  conditional collection (this is SQL independent and can be done
  in Session).

Index: php-lib/php/session.inc
diff -u php-lib/php/session.inc:1.60 php-lib/php/session.inc:1.61
--- php-lib/php/session.inc:1.60 Mon Feb 14 23:08:49 2000
+++ php-lib/php/session.inc Wed Feb 16 08:38:09 2000
@@ -5,7 +5,7 @@
  * Copyright (c) 1998,1999 NetUSE GmbH
  * Boris Erdmann, Kristian Koehntopp
  *
- * $Id: session.inc,v 1.60 2000/02/14 22:08:49 chagenbu Exp $
+ * $Id: session.inc,v 1.61 2000/02/16 07:38:09 kk Exp $
  *
  */
 
@@ -359,15 +359,6 @@
 
     $vals = $this->that->ac_get_value($this->id, $this->name);
     eval(sprintf(";%s",$vals));
- }
-
- ##
- ## Garbage collection
- ##
- ## Destroy all session data older than this
- ##
- function gc() {
- $this->that->ac_gc($this->gc_time, $this->name);
   }
 
   ##

-
PHPLIB Developers Mailing List. Send messages to <phplib-dev <email protected>>.
To unsubscribe, send "unsubscribe" to <phplib-dev-request <email protected>> in
the body, not the subject, of your message.