final pass #1720, closed #1720

This commit is contained in:
Julian Lam
2014-06-20 17:53:40 -04:00
parent d257632878
commit c41bb05711
8 changed files with 33 additions and 42 deletions

View File

@@ -163,10 +163,8 @@ module.exports = function(User) {
if (userNameChanged) {
notifications.create({
body: {
short: '[[user:username_taken_workaround, ' + userData.username + ']]',
long: ''
},
bodyShort: '[[user:username_taken_workaround, ' + userData.username + ']]',
bodyLong: '',
image: 'brand:logo',
datetime: Date.now()
}, function(nid) {