mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
remove deprecated methods
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user