X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fclasses%2Fmain%2Ffactories%2Fcache%2Fclass_CacheFactory.php;h=2938b8742f16a316106052c35c45d885a7e9f328;hb=c59dccf46c5d0e3b7f2687370b2b15023b1ecdfe;hp=e2cb7bce35571fc18604c469a8c6180758272f7a;hpb=e2767d5148436d0c90ed66ed9290416353ae6e60;p=hub.git diff --git a/inc/classes/main/factories/cache/class_CacheFactory.php b/inc/classes/main/factories/cache/class_CacheFactory.php index e2cb7bce3..2938b8742 100644 --- a/inc/classes/main/factories/cache/class_CacheFactory.php +++ b/inc/classes/main/factories/cache/class_CacheFactory.php @@ -4,7 +4,7 @@ * * @author Roland Haeder * @version 0.0.0 - * @copyright Copyright(c) 2007, 2008 Roland Haeder, this is free software + * @copyright Copyright (c) 2007, 2008 Roland Haeder, this is free software * @license GNU GPL 3.0 or any newer version * @link http://www.ship-simu.org * @@ -35,12 +35,6 @@ class CacheFactory extends BaseFactory { protected function __construct () { // Call parent constructor parent::__construct(__CLASS__); - - // Set object description - $this->setObjectDescription("Factory for cache objects"); - - // Create unique ID number - $this->generateUniqueId(); } /** @@ -66,7 +60,7 @@ class CacheFactory extends BaseFactory { */ public function createConfiguredCache () { // Read the config entry - $cacheType = $this->getConfigInstance()->readConfig("cache_class"); + $cacheType = $this->getConfigInstance()->readConfig('cache_class'); // And get a new instance $cacheInstance = ObjectFactory::createObjectByName($cacheType);