cvs: pear /LiveUser LiveUser.php
| From: | Lukas Smith | Date: | Tue, 19 Jul 2005 09:32:25 +0000 |
| Subject: | cvs: pear /LiveUser LiveUser.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-33141@lists.php.net to get a copy of this message | ||
lsmith Tue Jul 19 05:32:25 2005 EDT
Modified files:
/pear/LiveUser LiveUser.php
Log:
- nuke error due to disconnecting on logout()
http://cvs.php.net/diff.php/pear/LiveUser/LiveUser.php?r1=1.88&r2=1.89&ty=u
Index: pear/LiveUser/LiveUser.php
diff -u pear/LiveUser/LiveUser.php:1.88 pear/LiveUser/LiveUser.php:1.89
--- pear/LiveUser/LiveUser.php:1.88 Mon Jul 11 04:52:16 2005
+++ pear/LiveUser/LiveUser.php Tue Jul 19 05:32:24 2005
@@ -40,7 +40,7 @@
* @author Bjoern Kraus <krausbn@php.net>
* @copyright 2002-2005 Markus Wolff
* @license http://www.gnu.org/licenses/lgpl.txt
- * @version CVS: $Id: LiveUser.php,v 1.88 2005/07/11 08:52:16 lsmith Exp $
+ * @version CVS: $Id: LiveUser.php,v 1.89 2005/07/19 09:32:24 lsmith Exp $
* @link http://pear.php.net/LiveUser
*/
@@ -1397,8 +1397,10 @@
unset($_SESSION[$this->_options['session']['varname']]);
}
- // Delete the container objects
- $this->disconnect();
+ // disable this call for now, since logout() does not necessarily mean
+ // we dont intend to ever call the container again and only the
+ // MDB/MDB2 containers are able to reconnect on demand
+ #$this->disconnect();
if ($direct) {
// trigger event 'postLogout', can be used to do a redirect