mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-11 00:15:46 +01:00
changed userTitle of global mods
This commit is contained in:
@@ -32,7 +32,7 @@ module.exports = function(Groups) {
|
||||
name: data.name,
|
||||
slug: slug,
|
||||
createtime: timestamp,
|
||||
userTitle: data.name,
|
||||
userTitle: data.userTitle || data.name,
|
||||
description: data.description || '',
|
||||
memberCount: memberCount,
|
||||
deleted: 0,
|
||||
|
||||
@@ -343,6 +343,7 @@ function createGlobalModeratorsGroup(next) {
|
||||
}
|
||||
groups.create({
|
||||
name: 'Global Moderators',
|
||||
userTitle: 'Global Moderator',
|
||||
description: 'Forum wide moderators',
|
||||
hidden: 0,
|
||||
private: 1,
|
||||
|
||||
@@ -388,6 +388,7 @@ Upgrade.upgrade = function(callback) {
|
||||
}
|
||||
groups.create({
|
||||
name: 'Global Moderators',
|
||||
userTitle: 'Global Moderator',
|
||||
description: 'Forum wide moderators',
|
||||
hidden: 0,
|
||||
private: 1,
|
||||
|
||||
Reference in New Issue
Block a user