Node.js based forum software built for the modern web
changed userTitle of global mods
Barış Soner Uşaklıd3087b4e057f
diff --git a/src/groups/create.js b/src/groups/create.jsindex 5a27361d04..2b929c1e14 100644--- a/src/groups/create.js+++ b/src/groups/create.js@@ -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,diff --git a/src/install.js b/src/install.jsindex de436737f7..129c50c548 100644--- a/src/install.js+++ b/src/install.js@@ -343,6 +343,7 @@ function createGlobalModeratorsGroup(next) {}groups.create({name: 'Global Moderators',+ userTitle: 'Global Moderator',description: 'Forum wide moderators',hidden: 0,private: 1,diff --git a/src/upgrade.js b/src/upgrade.jsindex b2dc5535aa..59d5e6b954 100644--- a/src/upgrade.js+++ b/src/upgrade.js@@ -388,6 +388,7 @@ Upgrade.upgrade = function(callback) {}groups.create({name: 'Global Moderators',+ userTitle: 'Global Moderator',description: 'Forum wide moderators',hidden: 0,private: 1,