diff options
| author | Unknown Bliss <m@michaelcullum.com> | 2012-09-01 21:15:39 +0100 |
|---|---|---|
| committer | Unknown Bliss <m@michaelcullum.com> | 2012-09-01 21:15:39 +0100 |
| commit | 79da1ea59291ae91acf570fe5b705d80f1d29253 (patch) | |
| tree | 0e69c121b02d38d2be4959e22d5aa67210af5a36 /phpBB/includes/cache | |
| parent | 0c35ee2769d3945f25275d5ee7a130b7596d289f (diff) | |
| parent | 43190ebecaeadbc8738da9dcb33b9163652fb9f3 (diff) | |
| download | forums-79da1ea59291ae91acf570fe5b705d80f1d29253.tar forums-79da1ea59291ae91acf570fe5b705d80f1d29253.tar.gz forums-79da1ea59291ae91acf570fe5b705d80f1d29253.tar.bz2 forums-79da1ea59291ae91acf570fe5b705d80f1d29253.tar.xz forums-79da1ea59291ae91acf570fe5b705d80f1d29253.zip | |
Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ticket/10631
Conflicts:
phpBB/common.php
phpBB/download/file.php
Diffstat (limited to 'phpBB/includes/cache')
| -rw-r--r-- | phpBB/includes/cache/driver/memory.php | 2 | ||||
| -rw-r--r--[-rwxr-xr-x] | phpBB/includes/cache/driver/redis.php | 0 | ||||
| -rw-r--r-- | phpBB/includes/cache/factory.php | 42 |
3 files changed, 1 insertions, 43 deletions
diff --git a/phpBB/includes/cache/driver/memory.php b/phpBB/includes/cache/driver/memory.php index 92971c6cb2..e0771ab1d3 100644 --- a/phpBB/includes/cache/driver/memory.php +++ b/phpBB/includes/cache/driver/memory.php @@ -19,7 +19,7 @@ if (!defined('IN_PHPBB')) * ACM Abstract Memory Class * @package acm */ -class phpbb_cache_driver_memory extends phpbb_cache_driver_base +abstract class phpbb_cache_driver_memory extends phpbb_cache_driver_base { var $key_prefix; diff --git a/phpBB/includes/cache/driver/redis.php b/phpBB/includes/cache/driver/redis.php index a768885962..a768885962 100755..100644 --- a/phpBB/includes/cache/driver/redis.php +++ b/phpBB/includes/cache/driver/redis.php 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; - } -} |
