remove deprecated methods

v1.18.x
Barış Soner Uşaklı 7 years ago
parent 2fd2accf8c
commit e8d7a23e2e

@ -209,11 +209,6 @@ module.exports = function (Categories) {
});
};
Categories.getTopicIndex = function (tid, callback) {
console.warn('[Categories.getTopicIndex] deprecated');
callback(null, 1);
};
Categories.onNewPostMade = function (cid, pinned, postData, callback) {
if (!cid || !postData) {
return setImmediate(callback);

@ -57,11 +57,6 @@ Topics.getPageCount = function (tid, uid, callback) {
], callback);
};
Topics.getTidPage = function (tid, uid, callback) {
console.warn('[Topics.getTidPage] deprecated!');
callback(null, 1);
};
Topics.getTopicsFromSet = function (set, uid, start, stop, callback) {
async.waterfall([
function (next) {

Loading…
Cancel
Save