1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-04-17 06:16:34 +02:00

[ticket/15594] Adjust depends_on and add effectively_installed check

PHPBB3-15594
This commit is contained in:
Marc Alexander 2020-08-30 22:14:56 +02:00
parent 269f9251a2
commit e56088f921
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

@ -15,10 +15,15 @@ namespace phpbb\db\migration\data\v400;
class remove_profilefield_aol extends \phpbb\db\migration\migration
{
public function effectively_installed()
{
return !$this->db_tools->sql_column_exists($this->table_prefix . 'profile_fields_data', 'pf_phpbb_aol');
}
static public function depends_on()
{
return [
'\phpbb\db\migration\data\v400\v400',
'\phpbb\db\migration\data\v33x\v331',
];
}