Node.js based forum software built for the modern web
more #559
Baris Soner Usaklic860df79753f
diff --git a/src/posts.js b/src/posts.jsindex fa4433b6bd..865e905041 100644--- a/src/posts.js+++ b/src/posts.js@@ -342,13 +342,13 @@ var RDB = require('./redis.js'),});}- Posts.setPostField = function(pid, field, value, done) {- RDB.hset('post:' + pid, field, value);+ Posts.setPostField = function(pid, field, value, callback) {+ RDB.hset('post:' + pid, field, value, callback);plugins.fireHook('action:post.setField', {'pid': pid,'field': field,'value': value- }, done);+ });}Posts.getPostsByPids = function(pids, callback) {