mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 18:56:15 +01:00
topics.deleteTopicField
This commit is contained in:
@@ -78,4 +78,8 @@ module.exports = function(Topics) {
|
|||||||
db.setObjectField('topic:' + tid, field, value, callback);
|
db.setObjectField('topic:' + tid, field, value, callback);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Topics.deleteTopicField = function(tid, field, callback) {
|
||||||
|
db.deleteObjectField('topic:' + tid, field, callback);
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
Reference in New Issue
Block a user