[ticket/17493] Remove jabber permission and effectively_installed

PHPBB-17493
This commit is contained in:
Marc Alexander 2025-04-13 13:13:38 +02:00
parent afbc0794d2
commit 8c6731ffb9
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -36,11 +36,6 @@ class remove_jabber extends migration
]; ];
} }
public function effectively_installed()
{
return true;
}
public function revert_schema(): array public function revert_schema(): array
{ {
return [ return [
@ -70,6 +65,7 @@ class remove_jabber extends migration
'ACP_CLIENT_COMMUNICATION', 'ACP_CLIENT_COMMUNICATION',
'ACP_JABBER_SETTINGS', 'ACP_JABBER_SETTINGS',
]], ]],
['permission.remove', ['a_jabber']],
]; ];
} }
@ -96,6 +92,7 @@ class remove_jabber extends migration
'module_auth' => 'acl_a_jabber', 'module_auth' => 'acl_a_jabber',
], ],
]], ]],
['permission.add', ['a_jabber', true]],
]; ];
} }
} }