1
0
mirror of https://github.com/flarum/core.git synced 2025-10-12 07:24:27 +02:00

Define the default moderator group ID

This allows extensions to add default permissions for moderators,
without having to hardcode in the default moderator group ID.
This commit is contained in:
Toby Zerner
2017-07-22 11:41:20 +09:30
parent 0b00d56416
commit 54be3ad3c8
2 changed files with 10 additions and 7 deletions

View File

@@ -52,6 +52,11 @@ class Group extends AbstractModel
*/
const MEMBER_ID = 3;
/**
* The ID of the mod group.
*/
const MODERATOR_ID = 4;
/**
* Boot the model.
*