diff options
| author | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 20:21:26 +0200 |
|---|---|---|
| committer | Igor Wiedler <igor@wiedler.ch> | 2012-03-31 20:21:26 +0200 |
| commit | b12f9a285546641415d9ea2dd9e3a3dba6527d1a (patch) | |
| tree | 3a7f4a4e6114db33613782079822cc035ecbb8e0 /phpBB/includes | |
| parent | 8e2cbe39cdd7672638dbc0d6a0f65a7365db0d91 (diff) | |
| download | forums-b12f9a285546641415d9ea2dd9e3a3dba6527d1a.tar forums-b12f9a285546641415d9ea2dd9e3a3dba6527d1a.tar.gz forums-b12f9a285546641415d9ea2dd9e3a3dba6527d1a.tar.bz2 forums-b12f9a285546641415d9ea2dd9e3a3dba6527d1a.tar.xz forums-b12f9a285546641415d9ea2dd9e3a3dba6527d1a.zip | |
[feature/dic] Remove cache factory, now handled by DIC
PHPBB3-10739
Diffstat (limited to 'phpBB/includes')
| -rw-r--r-- | phpBB/includes/cache/factory.php | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/phpBB/includes/cache/factory.php b/phpBB/includes/cache/factory.php deleted file mode 100644 index 01c4d0b901..0000000000 --- a/phpBB/includes/cache/factory.php +++ /dev/null @@ -1,42 +0,0 @@ -<?php -/** -* -* @package acm -* @copyright (c) 2010 phpBB Group -* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2 -* -*/ - -/** -* @ignore -*/ -if (!defined('IN_PHPBB')) -{ - exit; -} - -/** -* @package acm -*/ -class phpbb_cache_factory -{ - private $acm_type; - - public function __construct($acm_type) - { - $this->acm_type = $acm_type; - } - - public function get_driver() - { - $class_name = 'phpbb_cache_driver_' . $this->acm_type; - return new $class_name(); - } - - public function get_service() - { - $driver = $this->get_driver(); - $service = new phpbb_cache_service($driver); - return $service; - } -} |
