cvs: pear /Auth Auth.php

From: Date: Sun, 22 Jul 2001 11:57:41 +0000
Subject: cvs: pear /Auth Auth.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-316@lists.php.net to get a copy of this message
mj Sun Jul 22 07:57:41 2001 EDT Modified files: /pear/Auth Auth.php Log: * remove unnecessary code Index: pear/Auth/Auth.php diff -u pear/Auth/Auth.php:1.2 pear/Auth/Auth.php:1.3 --- pear/Auth/Auth.php:1.2 Sat Jul 21 18:02:48 2001 +++ pear/Auth/Auth.php Sun Jul 22 07:57:41 2001 @@ -16,7 +16,7 @@ // | Authors: Martin Jansen <mj@php.net> | // +----------------------------------------------------------------------+ // -// $Id: Auth.php,v 1.2 2001/07/21 22:02:48 mj Exp $ +// $Id: Auth.php,v 1.3 2001/07/22 11:57:41 mj Exp $ // /** @@ -78,7 +78,7 @@ * @var integer * @see checkAuth() */ - var $idle = 5; + var $idle = 0; /** * Is the maximum idletime over? @@ -287,13 +287,12 @@ } $GLOBALS['auth'] = &$GLOBALS['HTTP_SESSION_VARS']['auth']; - $GLOBALS['auth'] = array(); $GLOBALS['auth']['registered'] = true; $GLOBALS['auth']['username'] = $username; $GLOBALS['auth']['timestamp'] = time(); $GLOBALS['auth']['idle'] = time(); } - + // }}} // {{{ getAuth()

« previous php.pear.cvs (#316) next »