[dev] [commits] Horde branch master updated. 7335fedaaae32e1caf0a6814a83a57569f1d7b18

Ralf Lang lang at b1-systems.de
Sun Aug 28 13:58:40 UTC 2011


Am Sonntag, 28. August 2011, 14:41:30 schrieb Vilius Šumskas:
> Sveiki,
> 
> Sunday, August 28, 2011, 3:11:20 PM, you wrote:
> > commit 4cb74b63aeef3607b7458907c08b6c262252d23c
> > Author: Ralf Lang <lang at b1-systems.de>
> > Date:   Sun Aug 28 11:31:50 2011 +0000
> > 
> >     Allow passing an existing instance of Horde_Db_Adapter in the params
> >     when creating the Sql backend.
> >     
> >     Fix returning a sub_driver
> >  
> >  passwd/lib/Factory/Driver.php |   16 ++++++++++------
> >  1 files changed, 10 insertions(+), 6 deletions(-)
> > 
> > http://git.horde.org/horde-git/-/commit/4cb74b63aeef3607b7458907c08b6c262
> > 252d23c
> 
> This  breaks  singleton  in  case  a  sub_driver  is not used. You are
> checking for a concrete driver instance but always return a $driver.

You are right. Now it works again but I need to touch more parts. Not today 
though.

-- 
Ralf Lang
Linux Consultant / Developer

B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537


More information about the dev mailing list