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:
parent
269f9251a2
commit
e56088f921
@ -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',
|
||||
];
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user