Skip to content

Node.js based forum software built for the modern web

removed deprecated methods

barisusakli96364935e905
diff --git a/src/privileges/topics.js b/src/privileges/topics.js
index 33a65216e9..b642f34355 100644
--- a/src/privileges/topics.js
+++ b/src/privileges/topics.js
@@ -188,11 +188,6 @@ module.exports = function(privileges) {
], callback);
};
- privileges.topics.canEdit = function(tid, uid, callback) {
- winston.warn('[deprecated] please use privileges.topics.isOwnerOrAdminOrMod');
- privileges.topics.isOwnerOrAdminOrMod(tid, uid, callback);
- };
-
privileges.topics.isOwnerOrAdminOrMod = function(tid, uid, callback) {
helpers.some([
function(next) {
@@ -204,10 +199,6 @@ module.exports = function(privileges) {
], callback);
};
- privileges.topics.canMove = function(tid, uid, callback) {
- winston.warn('[deprecated] please use privileges.topics.isAdminOrMod');
- privileges.topics.isAdminOrMod(tid, uid, callback);
- };
privileges.topics.isAdminOrMod = function(tid, uid, callback) {
helpers.some([