From 304f5b1c769f23d50c6c7ffbc92a1e6bf5c9b955 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Sat, 18 Oct 2014 17:02:37 -0400 Subject: [PATCH] removed duped and empty bodyLong --- src/user/create.js | 1 - src/user/notifications.js | 1 - 2 files changed, 2 deletions(-) diff --git a/src/user/create.js b/src/user/create.js index 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.js index 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) {