1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-16 22:51:23 +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

View File

@@ -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',
];
}