removed icon:bgColor and icon:text from db calls

calculates from username on the fly
This commit is contained in:
barisusakli
2015-10-29 16:35:44 -04:00
parent d8e50f931e
commit f4bfcc7351
12 changed files with 13 additions and 30 deletions

View File

@@ -122,7 +122,7 @@ var async = require('async'),
async.parallel({
users: function(next) {
user.getUsersFields(uids, ['uid', 'username', 'userslug', 'picture', 'icon:bgColor', 'icon:text'], next);
user.getUsersFields(uids, ['uid', 'username', 'userslug', 'picture'], next);
},
categories: function(next) {
categories.getCategoriesFields(cids, ['cid', 'name', 'slug', 'icon', 'bgColor', 'color', 'disabled'], next);