mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
template changes to recent and unread
This commit is contained in:
@@ -310,13 +310,7 @@ var RDB = require('./redis.js'),
|
||||
};
|
||||
|
||||
Categories.getCategoryFields = function(cid, fields, callback) {
|
||||
RDB.hmgetObject('category:' + cid, fields, function(err, data) {
|
||||
if (err === null) {
|
||||
callback(data);
|
||||
} else {
|
||||
winston.err(err);
|
||||
}
|
||||
});
|
||||
RDB.hmgetObject('category:' + cid, fields, callback);
|
||||
};
|
||||
|
||||
Categories.setCategoryField = function(cid, field, value) {
|
||||
|
||||
Reference in New Issue
Block a user