From: Roland Häder Date: Fri, 19 May 2017 13:32:22 +0000 (+0200) Subject: First Database, then Frontend (not Wrapper) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=54a56ed3c7cef5e7989100d2c5a7de8647d545de;p=core.git First Database, then Frontend (not Wrapper) Signed-off-by: Roland Häder --- diff --git a/framework/config-global.php b/framework/config-global.php index f11a27e7..303029d5 100644 --- a/framework/config-global.php +++ b/framework/config-global.php @@ -238,10 +238,10 @@ $cfg->setConfigEntry('crypto_class', 'CoreFramework\Helper\Crypto\CryptoHelper') $cfg->setConfigEntry('rng_class', 'CoreFramework\Crypto\RandomNumber\RandomNumberGenerator'); // CFG: USER-DB-WRAPPER-CLASS -$cfg->setConfigEntry('user_db_wrapper_class', 'CoreFramework\Wrapper\Database\User\UserDatabaseWrapper'); +$cfg->setConfigEntry('user_db_wrapper_class', 'CoreFramework\Database\Frontend\User\UserDatabaseWrapper'); // CFG: NEWS-DB-WRAPPER-CLASS -$cfg->setConfigEntry('news_db_wrapper_class', 'CoreFramework\Wrapper\Database\News\NewsDatabaseWrapper'); +$cfg->setConfigEntry('news_db_wrapper_class', 'CoreFramework\Database\Frontend\News\NewsDatabaseWrapper'); // CFG: HTML-CMD-RESOLVER-CLASS $cfg->setConfigEntry('html_cmd_resolver_class', 'CoreFramework\Resolver\Command\HtmlCommandResolver'); diff --git a/framework/main/classes/class_BaseFrameworkSystem.php b/framework/main/classes/class_BaseFrameworkSystem.php index 248da126..ab2e5540 100644 --- a/framework/main/classes/class_BaseFrameworkSystem.php +++ b/framework/main/classes/class_BaseFrameworkSystem.php @@ -13,6 +13,7 @@ use CoreFramework\Criteria\Local\LocalSearchCriteria; use CoreFramework\Criteria\Local\LocalUpdateCriteria; use CoreFramework\Crypto\Cryptable; use CoreFramework\Crypto\RandomNumber\RandomNumberGenerator; +use CoreFramework\Database\Frontend\DatabaseWrapper; use CoreFramework\Factory\Database\Wrapper\DatabaseWrapperFactory; use CoreFramework\Factory\ObjectFactory; use CoreFramework\Filesystem\Block; @@ -39,7 +40,6 @@ use CoreFramework\Stream\Output\OutputStreamer; use CoreFramework\Template\CompileableTemplate; use CoreFramework\User\ManageableAccount; use CoreFramework\Visitor\Visitor; -use CoreFramework\Wrapper\Database\DatabaseWrapper; // Import SPL stuff use \stdClass; diff --git a/framework/main/classes/commands/html/class_HtmlConfirmCommand.php b/framework/main/classes/commands/html/class_HtmlConfirmCommand.php index 9ad52885..3180836a 100644 --- a/framework/main/classes/commands/html/class_HtmlConfirmCommand.php +++ b/framework/main/classes/commands/html/class_HtmlConfirmCommand.php @@ -6,13 +6,13 @@ namespace CoreFramework\Command\Guest; use CoreFramework\Command\BaseCommand; use CoreFramework\Command\Commandable; use CoreFramework\Controller\Controller; +use CoreFramework\Database\Frontend\User\UserDatabaseWrapper; use CoreFramework\Factory\ObjectFactory; use CoreFramework\Generic\NullPointerException; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Resolver\Command\CommandResolver; use CoreFramework\Response\Responseable; -use CoreFramework\Wrapper\Database\User\UserDatabaseWrapper; /** * A command for the confirmation link handling diff --git a/framework/main/classes/commands/html/class_HtmlResendLinkCommand.php b/framework/main/classes/commands/html/class_HtmlResendLinkCommand.php index d19d9c24..aacfb613 100644 --- a/framework/main/classes/commands/html/class_HtmlResendLinkCommand.php +++ b/framework/main/classes/commands/html/class_HtmlResendLinkCommand.php @@ -6,12 +6,12 @@ namespace CoreFramework\Command\Guest; use CoreFramework\Command\BaseCommand; use CoreFramework\Command\Commandable; use CoreFramework\Controller\Controller; +use CoreFramework\Database\Frontend\User\UserDatabaseWrapper; use CoreFramework\Factory\ObjectFactory; use CoreFramework\Registry\Registry; use CoreFramework\Request\Requestable; use CoreFramework\Resolver\Command\CommandResolver; use CoreFramework\Response\Responseable; -use CoreFramework\Wrapper\Database\User\UserDatabaseWrapper; /** * A command class for resending the confirmation link diff --git a/framework/main/classes/database/class_BaseDatabaseWrapper.php b/framework/main/classes/database/class_BaseDatabaseWrapper.php index dbf0872e..5be68e3f 100644 --- a/framework/main/classes/database/class_BaseDatabaseWrapper.php +++ b/framework/main/classes/database/class_BaseDatabaseWrapper.php @@ -1,6 +1,6 @@