From e2b02c15a547c2b25858bc659fa2a0ea914a709d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Calvo?= Date: Fri, 21 Jul 2017 07:29:34 +0200 Subject: [PATCH] [ticket/15287] Rename class PHPBB3-15287 --- phpBB/phpbb/storage/adapter_factory.php | 2 +- phpBB/phpbb/storage/provider/provider_interface.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/phpBB/phpbb/storage/adapter_factory.php b/phpBB/phpbb/storage/adapter_factory.php index 8f66ca5331..429437ab28 100644 --- a/phpBB/phpbb/storage/adapter_factory.php +++ b/phpBB/phpbb/storage/adapter_factory.php @@ -59,7 +59,7 @@ class adapter_factory $provider_class = $this->config['storage\\' . $storage_name . '\\adapter']; $provider = $this->providers->get_by_class($provider_class); - $adapter = $this->adapters->get_by_class($provider->get_class()); + $adapter = $this->adapters->get_by_class($provider->get_adapter_class()); $adapter->configure($this->build_options($storage_name, $provider->get_options())); return $adapter; diff --git a/phpBB/phpbb/storage/provider/provider_interface.php b/phpBB/phpbb/storage/provider/provider_interface.php index 5632ae6803..439d5a5a7f 100644 --- a/phpBB/phpbb/storage/provider/provider_interface.php +++ b/phpBB/phpbb/storage/provider/provider_interface.php @@ -20,7 +20,7 @@ interface provider_interface * * @return \phpbb\storage\adapter\adapter_interface */ - public function get_class(); + public function geti_adapter_class(); /** * Gets adapter options.