mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-07 14:35:47 +01:00
closes #2222
This commit is contained in:
@@ -14,7 +14,6 @@ var social = require('./social');
|
||||
|
||||
(function(Topics) {
|
||||
|
||||
|
||||
require('./topics/data')(Topics);
|
||||
require('./topics/create')(Topics);
|
||||
require('./topics/delete')(Topics);
|
||||
@@ -29,6 +28,7 @@ var social = require('./social');
|
||||
require('./topics/teaser')(Topics);
|
||||
require('./topics/suggested')(Topics);
|
||||
require('./topics/tools')(Topics);
|
||||
require('./topics/thumb')(Topics);
|
||||
|
||||
Topics.exists = function(tid, callback) {
|
||||
db.isSortedSetMember('topics:tid', tid, callback);
|
||||
|
||||
Reference in New Issue
Block a user