From 52bdd7db0c9b53ccf39350547212da4d15f47c5c Mon Sep 17 00:00:00 2001 From: Stijn Haulotte Date: Tue, 26 Aug 2014 21:34:50 +0200 Subject: [PATCH] Fixed default userMapper --- config/ZfcUserAdmin.global.php.dist | 4 +--- src/ZfcUserAdmin/Options/ModuleOptions.php | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/config/ZfcUserAdmin.global.php.dist b/config/ZfcUserAdmin.global.php.dist index bdc964b..a1812f1 100644 --- a/config/ZfcUserAdmin.global.php.dist +++ b/config/ZfcUserAdmin.global.php.dist @@ -6,8 +6,6 @@ * drop this config file in it and change the values as you wish. */ $settings = array( - - /** * Mapper for ZfcUser * @@ -19,7 +17,7 @@ $settings = array( * By default this is using * ZfcUserAdmin\Mapper\UserZendDb */ - 'user_mapper' => 'ZfcUserAdmin\Mapper\UserDoctrine', + 'user_mapper' => 'ZfcUserAdmin\Mapper\UserZendDb', ); /** diff --git a/src/ZfcUserAdmin/Options/ModuleOptions.php b/src/ZfcUserAdmin/Options/ModuleOptions.php index 5aae86f..820913c 100644 --- a/src/ZfcUserAdmin/Options/ModuleOptions.php +++ b/src/ZfcUserAdmin/Options/ModuleOptions.php @@ -54,7 +54,7 @@ class ModuleOptions extends AbstractOptions implements */ protected $allowPasswordChange = true; - protected $userMapper = 'ZfcUserAdmin\Mapper\UserDoctrine'; + protected $userMapper = 'ZfcUserAdmin\Mapper\UserZendDb'; public function setUserMapper($userMapper) {