Node.js based forum software built for the modern web
remove deprecated methods
Barış Soner Uşaklıe8d7a23e2eef
diff --git a/src/categories/topics.js b/src/categories/topics.jsindex 3b7038fbe0..19634e1dcf 100644--- a/src/categories/topics.js+++ b/src/categories/topics.js@@ -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);diff --git a/src/topics.js b/src/topics.jsindex c3475995bd..8cea101b84 100644--- a/src/topics.js+++ b/src/topics.js@@ -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) {