[ticket/17283] Add migration for font awesome 6.5.1 cdn url

PHPBB3-17283
This commit is contained in:
Marc Alexander 2024-02-16 17:42:58 +01:00
parent 580ce4ca42
commit da48c178ea
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -0,0 +1,34 @@
<?php
/**
*
* This file is part of the phpBB Forum Software package.
*
* @copyright (c) phpBB Limited <https://www.phpbb.com>
* @license GNU General Public License, version 2 (GPL-2.0)
*
* For full copyright and license information, please see
* the docs/CREDITS.txt file.
*
*/
namespace phpbb\db\migration\data\v400;
use phpbb\db\migration\migration;
class font_awesome_6_upgrade extends migration
{
public static function depends_on(): array
{
return [
'\phpbb\db\migration\data\v400\dev',
'\phpbb\db\migration\data\v33x\font_awesome_5_rollback',
];
}
public function update_data(): array
{
return [
['config.update', ['load_font_awesome_url', 'https://use.fontawesome.com/releases/v6.5.1/css/all.css']],
];
}
}