[Tickets #5355] Re: Fix for PHP4 reference handling

bugs at bugs.horde.org bugs at bugs.horde.org
Thu May 17 19:47:46 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5355
-----------------------------------------------------------------------
 Ticket             | 5355
 Updated By         | Chuck Hagenbuch <chuck at horde.org>
 Summary            | Fix for PHP4 reference handling
 Queue              | Kronolith
 Version            | HEAD
 Type               | Bug
 State              | Feedback
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


Chuck Hagenbuch <chuck at horde.org> (2007-05-17 12:47) wrote:

> I'm still wondering a bit about Kronolith_Driver::factory(). The 
> comment states it should return a concrete instance of a driver, but 
> as far as I can see it always creates a new instance.

That's the behavior of a factory - it turns a string into a concrete
object. Probably not the clearest behavior in the world but it's behaving
correctly.

> Also take a look at lib/Scheduler/kronolith.php. It creates a global
driver 
> object and then creates another two. Is that supposed to happen?

Doubtful. :)



More information about the bugs mailing list