1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-29 19:20:23 +02:00

Merge pull request #5986 from 3D-I/ticket/16487

[ticket/16487] Fix URL for fontawesome 3.2.0 migration
This commit is contained in:
Marc Alexander
2020-05-27 21:37:16 +02:00
2 changed files with 46 additions and 10 deletions

View File

@@ -15,22 +15,22 @@ namespace phpbb\db\migration\data\v320;
class font_awesome_update extends \phpbb\db\migration\migration
{
static public function depends_on()
{
return array(
'\phpbb\db\migration\data\v320\dev',
);
}
public function effectively_installed()
{
return isset($this->config['load_font_awesome_url']);
}
static public function depends_on()
{
return [
'\phpbb\db\migration\data\v320\dev',
];
}
public function update_data()
{
return array(
array('config.add', array('load_font_awesome_url', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css')),
);
return [
['config.add', ['load_font_awesome_url', 'https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css']],
];
}
}