The groupType=5 is already in use by moderated groups
authorAlexander Ebert <ebert@woltlab.com>
Fri, 12 Apr 2019 09:28:52 +0000 (11:28 +0200)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 12 Apr 2019 09:28:52 +0000 (11:28 +0200)
`9` is the largest available number due to TINYINT(1)

wcfsetup/install/files/lib/data/user/group/UserGroup.class.php

index cf651a8c2a66f2a5b23af25bb574e77c881988cd..256173c5c0731621002976b2a698cea440ffb5de 100644 (file)
@@ -60,7 +60,7 @@ class UserGroup extends DatabaseObject implements ITitledObject {
         * the owner group is always an administrator group
         * @var int
         */
-       const OWNER = 5;
+       const OWNER = 9;
        
        /**
         * group cache