mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
[ticket/17493] Remove jabber permission and effectively_installed
PHPBB-17493
This commit is contained in:
@@ -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]],
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user