]> git.mxchange.org Git - core.git/blobdiff - framework/main/classes/database/frontend/class_BaseDatabaseFrontend.php
Continued:
[core.git] / framework / main / classes / database / frontend / class_BaseDatabaseFrontend.php
index 07f8a31308168e97218f7ac06b9d118ec43aa341..78665d33715e5b278c642266ba10edaa117a4890 100644 (file)
@@ -50,6 +50,7 @@ abstract class BaseDatabaseFrontend extends BaseFrameworkSystem {
         * "Cached" value 'database_cache_enabled' from configuration
         */
        private $databaseCacheEnabled = false;
+
        /**
         * Protected constructor
         *
@@ -76,7 +77,7 @@ abstract class BaseDatabaseFrontend extends BaseFrameworkSystem {
        private final function initCacheInstance () {
                // Set "cache" attributes
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->traceMessage('BASE-DATABASE-FRONTEND: CALLED!');
-               $this->databaseCacheEnabled = FrameworkBootstrap::getConfigurationInstance()->getConfigEntry('database_cache_enabled');
+               $this->databaseCacheEnabled = FrameworkBootstrap::getConfigurationInstance()->isEnabled('database_cache');
 
                // Is the cache enabled?
                //* NOISY-DEBUG: */ self::createDebugInstance(__CLASS__, __LINE__)->debugMessage(sprintf('BASE-DATABASE-FRONTEND: this->databaseCacheEnabled=%d', intval($this->databaseCacheEnabled)));