mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 11:17:29 +02:00
removed duped and empty bodyLong
This commit is contained in:
@@ -163,7 +163,6 @@ module.exports = function(User) {
|
||||
if (userNameChanged) {
|
||||
notifications.create({
|
||||
bodyShort: '[[user:username_taken_workaround, ' + userData.username + ']]',
|
||||
bodyLong: '',
|
||||
image: 'brand:logo',
|
||||
nid: 'username_taken:' + uid,
|
||||
datetime: Date.now()
|
||||
|
||||
@@ -271,7 +271,6 @@ var async = require('async'),
|
||||
|
||||
notifications.create({
|
||||
bodyShort: meta.config.welcomeNotification,
|
||||
bodyLong: meta.config.welcomeNotification,
|
||||
path: path,
|
||||
nid: 'welcome_' + uid
|
||||
}, function(err, notification) {
|
||||
|
||||
Reference in New Issue
Block a user