mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 12:05:57 +01:00
Fix space-infix-ops linter rule
This commit is contained in:
@@ -96,14 +96,14 @@ var utils = require('../../public/src/utils');
|
||||
return next();
|
||||
}
|
||||
|
||||
for(var i=0; i<notifications.length; ++i) {
|
||||
for(var i = 0; i < notifications.length; ++i) {
|
||||
if (notifications[i].image && notifications[i].image.indexOf('http') !== 0) {
|
||||
notifications[i].image = nconf.get('url') + notifications[i].image;
|
||||
}
|
||||
}
|
||||
|
||||
emailer.send('digest', userObj.uid, {
|
||||
subject: '[' + meta.config.title + '] [[email:digest.subject, ' + (now.getFullYear()+ '/' + (now.getMonth()+1) + '/' + now.getDate()) + ']]',
|
||||
subject: '[' + meta.config.title + '] [[email:digest.subject, ' + (now.getFullYear() + '/' + (now.getMonth() + 1) + '/' + now.getDate()) + ']]',
|
||||
username: userObj.username,
|
||||
userslug: userObj.userslug,
|
||||
url: nconf.get('url'),
|
||||
|
||||
Reference in New Issue
Block a user