[commits] Horde branch master updated. 104e3198ce8b82e1a469dce43420d2d6fa7e2a7d

Michael Rubinsky mike at theupstairsroom.com
Thu May 27 19:49:27 UTC 2010


Quoting Michael M Slusarz <slusarz at horde.org>:

> commit e433901b802136256a094ae1f870853e7f512e02
> Author: Michael M Slusarz <slusarz at curecanti.org>
> Date:   Wed May 26 11:34:06 2010 -0600
>
>     Refactor Horde_Db injectors.
>
>     Forgot that individual subsystems could potentially define a custom SQL
>     configuration.  Therefore, we need a Horde_Db injector with a
>     factory/singleton to override the base DB for these subsystems (and
>     reuse the base DB object if no custom config is given).
>
>     Rename Horde_Db_Adapter_Base to Horde_Db_Base and change to a shortcut
>     to return the base Horde DB object.

This breaks allowing the injector to automatically find the Horde_Db  
dependencies of other objects by using type hints. e.g., the Content_*  
classes have dependencies on Horde_Db_Adapter_Base, but now cannot be  
resolved since the binder has been renamed.


-- 
Thanks
Mike

"Time just hates me, that's why it made me an adult." - Josh Joplin


More information about the commits mailing list