Refactor Horde_Db injectors.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 26 May 2010 17:34:06 +0000 (11:34 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Thu, 27 May 2010 16:44:52 +0000 (10:44 -0600)
commite433901b802136256a094ae1f870853e7f512e02
tree138894b4829a08bd26c963c344e8be1b7fb2e698
parentf393c842d15ddf88d0b89ceaffc2b27a1e19595b
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.
23 files changed:
content/test/Tags/TaggerTest.php
framework/Core/lib/Horde.php
framework/Core/lib/Horde/Core/Auth/Signup/Sql.php
framework/Core/lib/Horde/Core/Binder/Alarm.php
framework/Core/lib/Horde/Core/Binder/Cache.php
framework/Core/lib/Horde/Core/Binder/Db.php
framework/Core/lib/Horde/Core/Binder/DbBase.php [new file with mode: 0644]
framework/Core/lib/Horde/Core/Binder/Lock.php
framework/Core/lib/Horde/Core/Binder/Perms.php
framework/Core/lib/Horde/Core/Binder/SessionHandler.php
framework/Core/lib/Horde/Core/Binder/Token.php
framework/Core/lib/Horde/Core/Factory/Db.php [new file with mode: 0644]
framework/Core/lib/Horde/Registry.php
framework/Core/package.xml
framework/Image/tests/im.php
framework/Rdo/examples/Horde/Rdo/Clotho.php
framework/Rdo/examples/Horde/Rdo/User.php
framework/admintools/horde-sql-shell.php
horde/admin/activesync.php
horde/bin/db_migrate
horde/lib/Prefs/Ui.php
horde/rpc.php
imp/lib/Injector/Binder/Sentmail.php