some fixes for search plugin

This commit is contained in:
Baris Soner Usakli
2014-02-28 20:47:49 -05:00
parent 1c19ae48bd
commit 24b669bd39
3 changed files with 7 additions and 11 deletions

View File

@@ -90,9 +90,7 @@ var winston = require('winston'),
topics.setTopicField(tid, 'thumb', options.topic_thumb);
db.searchRemove('topic', tid, function() {
db.searchIndex('topic', title, tid);
});
plugins.fireHook('action:topic.edit', tid);
}
posts.getPostData(pid, function(err, postData) {