cvs: pear /Auth_PrefManager2 PrefManager2.php

From: Date: Tue, 29 Jun 2004 16:56:31 +0000
Subject: cvs: pear /Auth_PrefManager2 PrefManager2.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-21260@lists.php.net to get a copy of this message
jellybob Tue Jun 29 12:56:31 2004 EDT Modified files: /pear/Auth_PrefManager2 PrefManager2.php Log: Removed a stupid recursive loop in the singleton method. http://cvs.php.net/diff.php/pear/Auth_PrefManager2/PrefManager2.php?r1=1.5&r2=1.6&ty=u Index: pear/Auth_PrefManager2/PrefManager2.php diff -u pear/Auth_PrefManager2/PrefManager2.php:1.5 pear/Auth_PrefManager2/PrefManager2.php:1.6 --- pear/Auth_PrefManager2/PrefManager2.php:1.5 Tue Jun 29 12:48:11 2004 +++ pear/Auth_PrefManager2/PrefManager2.php Tue Jun 29 12:56:31 2004 @@ -15,7 +15,7 @@ // | Paul M. Jones <pmjones@ciaweb.net> | // +----------------------------------------------------------------------+ // -// $Id: PrefManager2.php,v 1.5 2004/06/29 16:48:11 jellybob Exp $ +// $Id: PrefManager2.php,v 1.6 2004/06/29 16:56:31 jellybob Exp $ /** * Used for error handling. @@ -172,7 +172,7 @@ $key = serialize(array($container, $options)); if (!isset($instances[$key])) { - $instances[$key] =& Auth_PrefManager2::singleton($container, $options); + $instances[$key] =& Auth_PrefManager2::factory($container, $options); } return $instances[$key];

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