[ticket/15276] Fix migration

PHPBB3-15276
This commit is contained in:
Rubén Calvo 2017-07-20 05:27:33 +02:00
parent 4ed0de9f41
commit 0417482d55

View file

@ -13,14 +13,12 @@
namespace phpbb\db\migration\data\v330;
use \phpbb\storage\provider;
class storage_avatar extends \phpbb\db\migration\migration
{
public function update_data()
{
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.remove', array('avatar_path')),
);