moved postTools and threadTools into posts/ and topics/

This commit is contained in:
barisusakli
2015-09-17 14:58:58 -04:00
parent 19a0e1cf54
commit 0c6495de72
6 changed files with 56 additions and 57 deletions

View File

@@ -22,6 +22,7 @@ var async = require('async'),
require('./posts/summary')(Posts);
require('./posts/recent')(Posts);
require('./posts/flags')(Posts);
require('./posts/tools')(Posts);
Posts.exists = function(pid, callback) {
db.isSortedSetMember('posts:pid', pid, callback);