This commit is contained in:
Barış Soner Uşaklı
2018-10-20 17:23:15 -04:00
parent f53984aeae
commit f5fe91286e
7 changed files with 0 additions and 50 deletions

View File

@@ -2,7 +2,6 @@
var async = require('async');
var validator = require('validator');
var winston = require('winston');
var db = require('../database');
@@ -53,11 +52,6 @@ module.exports = function (Categories) {
});
};
Categories.getMultipleCategoryFields = function (cids, fields, callback) {
winston.warn('[deprecated] Categories.getMultipleCategoryFields is deprecated please use Categories.getCategoriesFields');
Categories.getCategoriesFields(cids, fields, callback);
};
Categories.getAllCategoryFields = function (fields, callback) {
async.waterfall([
async.apply(db.getSortedSetRange, 'categories:cid', 0, -1),