updating all group lib methods, and their callers -- #1252

This commit is contained in:
Julian Lam
2014-03-20 09:12:49 -04:00
parent befaa56ad0
commit 7b4f596aba
11 changed files with 107 additions and 304 deletions

View File

@@ -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({