cvs: pear /LiveUser LiveUser.php

From: Date: Mon, 07 Feb 2005 18:59:36 +0000
Subject: cvs: pear /LiveUser LiveUser.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-29192@lists.php.net to get a copy of this message
lsmith Mon Feb 7 13:59:36 2005 EDT Modified files: /pear/LiveUser LiveUser.php Log: - cosmetic clean up http://cvs.php.net/diff.php/pear/LiveUser/LiveUser.php?r1=1.43&r2=1.44&ty=u Index: pear/LiveUser/LiveUser.php diff -u pear/LiveUser/LiveUser.php:1.43 pear/LiveUser/LiveUser.php:1.44 --- pear/LiveUser/LiveUser.php:1.43 Mon Feb 7 11:59:53 2005 +++ pear/LiveUser/LiveUser.php Mon Feb 7 13:59:34 2005 @@ -156,7 +156,7 @@ * @author Lukas Smith <smith@backendmedia.com> * @author Pierre-Alain Joye <pajoye@php.net> * @author Arnaud Limbourg <arnaud@php.net> - * @version $Id: LiveUser.php,v 1.43 2005/02/07 16:59:53 lsmith Exp $ + * @version $Id: LiveUser.php,v 1.44 2005/02/07 18:59:34 lsmith Exp $ * @package LiveUser */ class LiveUser @@ -896,8 +896,8 @@ if ($this->isLoggedIn()) { // user wants to logout or authenticate with new credentials - if ($logout || $handle) { - $this->logout($logout); + if ($logout) { + $this->logout(true); // Check if user authenticated with new credentials } elseif ($handle && $this->_auth->handle != $handle) { $this->logout(false);

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