mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-31 03:59:52 +02:00
[ticket/15287] Update storage
PHPBB3-15287
This commit is contained in:
@@ -20,9 +20,9 @@ class storage
|
||||
{
|
||||
protected $adapter;
|
||||
|
||||
public function __construct($adapter)
|
||||
public function __construct($factory, $storage_name)
|
||||
{
|
||||
$this->adapter = $adapter;
|
||||
$this->adapter = $factory->get($storage_name);
|
||||
}
|
||||
|
||||
public function put_contents($path, $content)
|
||||
|
Reference in New Issue
Block a user