Skip to content

Commit

Permalink
Fix broken module - swap to common mapping drivers
Browse files Browse the repository at this point in the history
  • Loading branch information
superdweebie committed Jul 19, 2012
1 parent e6ed2f8 commit f88c98d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 119 deletions.
2 changes: 1 addition & 1 deletion config/module.config.php
Expand Up @@ -37,7 +37,7 @@

'driver' => array(
'odm_default' => array(
'class' => 'Doctrine\ODM\MongoDB\Mapping\Driver\DriverChain',
'class' => 'Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain',
'drivers' => array()
)
),
Expand Down
2 changes: 1 addition & 1 deletion src/DoctrineMongoODMModule/Module.php
Expand Up @@ -90,7 +90,7 @@ public function getServiceConfiguration()
'factories' => array(
'doctrine.connection.odm_default' => new ODMService\ConnectionFactory('odm_default'),
'doctrine.configuration.odm_default' => new ODMService\ConfigurationFactory('odm_default'),
'doctrine.driver.odm_default' => new ODMService\DriverFactory('odm_default'),
'doctrine.driver.odm_default' => new CommonService\DriverFactory('odm_default'),
'doctrine.documentmanager.odm_default' => new ODMService\DocumentManagerFactory('odm_default'),
'doctrine.eventmanager.odm_default' => new CommonService\EventManagerFactory('odm_default'),
)
Expand Down
117 changes: 0 additions & 117 deletions src/DoctrineMongoODMModule/Service/DriverFactory.php

This file was deleted.

0 comments on commit f88c98d

Please sign in to comment.