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:
@@ -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',
|
||||
];
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user