]> git.mxchange.org Git - city.git/blobdiff - application/city/classes/manager/game/class_GameOptionsManager.php
Continued:
[city.git] / application / city / classes / manager / game / class_GameOptionsManager.php
index 6eea04d78f29482e37fd7f06d1bb051bf7a4a9fc..aa2ae4c9c0a0e8ede1c1f17e984925d18cd4f37e 100644 (file)
@@ -3,7 +3,7 @@
 namespace Org\Mxchange\City\Manager\Region;
 
 // Import framework stuff
-use Org\Mxchange\CoreFramework\Factory\Database\Wrapper\DatabaseWrapperFactory;
+use Org\Mxchange\CoreFramework\Factory\Database\Frontend\DatabaseFrontendFactory;
 
 /**
  * A game manager
@@ -47,11 +47,11 @@ class GameOptionsManager extends BaseManager implements ManageableGame {
                // Get new instance
                $managerInstance = new GameOptionsManager();
 
-               // Get database wrapper
-               $wrapperInstance = DatabaseWrapperFactory::createWrapperByConfiguredName('game_options_db_wrapper_class');
+               // Get database frontend
+               $frontendInstance = DatabaseFrontendFactory::createFrontendByConfiguredName('game_options_db_frontend_class');
 
                // And set it here
-               $managerInstance->setWrapperInstance($wrapperInstance);
+               $managerInstance->setFrontendInstance($frontendInstance);
 
                // Return the prepared instance
                return $managerInstance;