mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 05:18:52 +00:00
[ticket/15276] Fix migration
PHPBB3-15276
This commit is contained in:
parent
4ed0de9f41
commit
0417482d55
1 changed files with 1 additions and 3 deletions
|
@ -13,14 +13,12 @@
|
||||||
|
|
||||||
namespace phpbb\db\migration\data\v330;
|
namespace phpbb\db\migration\data\v330;
|
||||||
|
|
||||||
use \phpbb\storage\provider;
|
|
||||||
|
|
||||||
class storage_avatar extends \phpbb\db\migration\migration
|
class storage_avatar extends \phpbb\db\migration\migration
|
||||||
{
|
{
|
||||||
public function update_data()
|
public function update_data()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
array('config.add', array('storage\\avatar\\adapter', provider\local::class)),
|
array('config.add', array('storage\\avatar\\adapter', \phpbb\storage\provider\local::class)),
|
||||||
array('config.add', array('storage\\avatar\\config\\path', $this->config['avatar_path'])),
|
array('config.add', array('storage\\avatar\\config\\path', $this->config['avatar_path'])),
|
||||||
array('config.remove', array('avatar_path')),
|
array('config.remove', array('avatar_path')),
|
||||||
);
|
);
|
||||||
|
|
Loading…
Add table
Reference in a new issue