[dev] [commits] Horde branch master updated. f0651e19dbd0eccb67c9aefcf4cd3b3ef51c69df

Jan Schneider jan at horde.org
Fri Sep 9 22:20:08 UTC 2011


Zitat von Ralf Lang <lang at b1-systems.de>:

> The branch "master" has been updated.
> The following is a summary of the commits.
>
> from: 7119764fe3d17f7a8d6d57277fe405e3a2e55a08
>
> f0651e1 Make Factory more test-friendly by removing static call to  
> Passwd::getBackends() Add getter/setter method for a factory's  
> backends
>
> -----------------------------------------------------------------------
>
> commit f0651e19dbd0eccb67c9aefcf4cd3b3ef51c69df
> Author: Ralf Lang <lang at b1-systems.de>
> Date:   Fri Sep 9 20:01:25 2011 +0000
>
>     Make Factory more test-friendly by removing static call to  
> Passwd::getBackends()
>     Add getter/setter method for a factory's backends
>
>  passwd/index.php                               |    3 +-
>  passwd/lib/Factory/Driver.php                  |   36 ++++++++++++++-
>  passwd/test/Passwd/Unit/Factory/DriverTest.php |   57  
> +++++++++++++++++++----
>  3 files changed, 82 insertions(+), 14 deletions(-)
>
> http://git.horde.org/horde-git/-/commit/f0651e19dbd0eccb67c9aefcf4cd3b3ef51c69df
>
>
> __
> commits mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: commits-unsubscribe at lists.horde.org

I didn't look at the code, but I cannot imagine the factory is used  
often. Why not passing the backend hash to the factory directly?

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the dev mailing list