Node.js based forum software built for the modern web
removed duped and empty bodyLong
barisusakli304f5b1c769f
diff --git a/src/user/create.js b/src/user/create.jsindex c6ecc17289..6340b67f64 100644--- a/src/user/create.js+++ b/src/user/create.js@@ -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()diff --git a/src/user/notifications.js b/src/user/notifications.jsindex 1fe72e5f3b..4f290d8f92 100644--- a/src/user/notifications.js+++ b/src/user/notifications.js@@ -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) {