Node.js based forum software built for the modern web
new hook filter:topics.get
barisusakli0792731873f3
diff --git a/src/posts.js b/src/posts.jsindex 15f6b7dbf8..c6869b180b 100644--- a/src/posts.js+++ b/src/posts.js@@ -289,7 +289,6 @@ var async = require('async'),post.content = results.content;}-callback(null, post);});}diff --git a/src/topics.js b/src/topics.jsindex addde2cdda..66d2ee3d02 100644--- a/src/topics.js+++ b/src/topics.js@@ -259,7 +259,7 @@ var async = require('async'),return !!topic;});- callback(null, topics);+ plugins.fireHook('filter:topics.get', topics, callback);});});};