mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
moved postTools and threadTools into posts/ and topics/
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user