remove deprecated methods

This commit is contained in:
Barış Soner Uşaklı
2018-06-16 05:32:17 -04:00
parent 2fd2accf8c
commit e8d7a23e2e
2 changed files with 0 additions and 10 deletions

View File

@@ -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);

View File

@@ -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) {