mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-27 17:16:14 +01:00
updating all group lib methods, and their callers -- #1252
This commit is contained in:
@@ -256,7 +256,7 @@ SocketPosts.flag = function(socket, pid, callback) {
|
||||
},
|
||||
function(topicSlug, next) {
|
||||
path = nconf.get('relative_path') + '/topic/' + topicSlug + '#' + pid;
|
||||
groups.getByGroupName('administrators', {}, next);
|
||||
groups.get('administrators', {}, next);
|
||||
},
|
||||
function(adminGroup, next) {
|
||||
notifications.create({
|
||||
|
||||
Reference in New Issue
Block a user