Skip to content
This repository has been archived by the owner on Jul 20, 2021. It is now read-only.

Commit

Permalink
Fixed error with dev-master zfcUser
Browse files Browse the repository at this point in the history
  • Loading branch information
stijnhau committed Sep 4, 2014
1 parent 560d27a commit 7246a05
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
4 changes: 0 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,6 @@
],
"require": {
"php": ">=5.4.0",
"doctrine/common" : ">=v2.4.2",
"doctrine/orm" : ">=v2.4.4",
"doctrine/doctrine-orm-module" : ">=0.8.0",
"zf-commons/zfc-user-doctrine-orm" : "=dev-master",
"zf-commons/zfc-user": "~1.0"
},
"autoload": {
Expand Down
3 changes: 1 addition & 2 deletions config/services.config.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
<?php
use Zend\ServiceManager\ServiceLocatorInterface;
use ZfcUser\Mapper\UserHydrator;
use ZfcUserList\Options;

return array(
Expand Down Expand Up @@ -30,7 +29,7 @@
$mapper->setDbAdapter($sm->get('zfcuser_zend_db_adapter'));
$entityClass = $zfcUserOptions->getUserEntityClass();
$mapper->setEntityPrototype(new $entityClass);
$mapper->setHydrator(new UserHydrator());
$mapper->setHydrator($sm->get('zfcuser_user_hydrator'));
}

return $mapper;
Expand Down

0 comments on commit 7246a05

Please sign in to comment.