cvs: pear /LiveUser LiveUser.php

From: Date: Mon, 07 Feb 2005 14:39:32 +0000
Subject: cvs: pear /LiveUser LiveUser.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-29170@lists.php.net to get a copy of this message
lsmith Mon Feb 7 09:39:32 2005 EDT Modified files: /pear/LiveUser LiveUser.php Log: - disconnect() should not require that any connection was made before http://cvs.php.net/diff.php/pear/LiveUser/LiveUser.php?r1=1.38&r2=1.39&ty=u Index: pear/LiveUser/LiveUser.php diff -u pear/LiveUser/LiveUser.php:1.38 pear/LiveUser/LiveUser.php:1.39 --- pear/LiveUser/LiveUser.php:1.38 Mon Feb 7 06:47:19 2005 +++ pear/LiveUser/LiveUser.php Mon Feb 7 09:39:32 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.38 2005/02/07 11:47:19 lsmith Exp $ + * @version $Id: LiveUser.php,v 1.39 2005/02/07 14:39:32 lsmith Exp $ * @package LiveUser */ class LiveUser @@ -1094,7 +1094,6 @@ */ function disconnect() { - $result = false; if (is_a($this->_auth, 'LiveUser_Auth_Common')) { $result = $this->_auth->disconnect(); if ($result === false) { @@ -1109,11 +1108,6 @@ } $this->_perm = null; } - if ($result === false) { - $this->_stack->push(LIVEUSER_ERROR_CONFIG, 'exception', - array(), 'No connection to disconnect in LiveUser::disconnect()'); - return false; - } return true; }

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