changed userTitle of global mods

This commit is contained in:
Barış Soner Uşaklı
2016-02-05 18:34:58 +02:00
parent 9b9f4b252f
commit d3087b4e05
3 changed files with 3 additions and 1 deletions

View File

@@ -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,

View File

@@ -343,6 +343,7 @@ function createGlobalModeratorsGroup(next) {
}
groups.create({
name: 'Global Moderators',
userTitle: 'Global Moderator',
description: 'Forum wide moderators',
hidden: 0,
private: 1,

View File

@@ -388,6 +388,7 @@ Upgrade.upgrade = function(callback) {
}
groups.create({
name: 'Global Moderators',
userTitle: 'Global Moderator',
description: 'Forum wide moderators',
hidden: 0,
private: 1,