Move Turba_Driver::factory() functionality to the injector factory.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 13 Jan 2011 16:40:40 +0000 (11:40 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Thu, 13 Jan 2011 16:40:40 +0000 (11:40 -0500)
commit1a0dbbc298f77dea13d86d8c11045998703e4a9d
tree770ae0588f36c26e87259df67bb1407daf2e4659
parentb9f42c27cbd5d96c4e3fcb29c8f0bcc3982fd300
Move Turba_Driver::factory() functionality to the injector factory.

All code should be using the injector to get the driver anyway, no
need for extra factory method.

Remove _init() methods from driver subclasses, move functionality into
the const'r instead.
turba/lib/Api.php
turba/lib/Driver.php
turba/lib/Driver/Imsp.php
turba/lib/Driver/Kolab.php
turba/lib/Driver/Ldap.php
turba/lib/Driver/Share.php
turba/lib/Driver/Sql.php
turba/lib/Driver/Vbook.php
turba/lib/Injector/Factory/Driver.php