mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/17493] Remove jabber permission and effectively_installed
PHPBB-17493
This commit is contained in:
parent
afbc0794d2
commit
8c6731ffb9
1 changed files with 2 additions and 5 deletions
|
@ -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]],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue