From 66cf13e546a80b04cb78cca25bb99d0bdb3258a9 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Tue, 1 Mar 2016 17:53:16 -0500 Subject: [PATCH] topics.deleteTopicField --- src/topics/data.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/topics/data.js b/src/topics/data.js index 48aa81419e..dec8c60d69 100644 --- a/src/topics/data.js +++ b/src/topics/data.js @@ -78,4 +78,8 @@ module.exports = function(Topics) { db.setObjectField('topic:' + tid, field, value, callback); }; + Topics.deleteTopicField = function(tid, field, callback) { + db.deleteObjectField('topic:' + tid, field, callback); + }; + }; \ No newline at end of file