mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
removing some console.log's
This commit is contained in:
@@ -176,7 +176,6 @@
|
|||||||
|
|
||||||
Groups.update = function(gid, values, callback) {
|
Groups.update = function(gid, values, callback) {
|
||||||
db.exists('gid:' + gid, function (err, exists) {
|
db.exists('gid:' + gid, function (err, exists) {
|
||||||
console.log('exists?', gid, exists, values);
|
|
||||||
if (!err && exists) {
|
if (!err && exists) {
|
||||||
db.setObject('gid:' + gid, values, callback);
|
db.setObject('gid:' + gid, values, callback);
|
||||||
} else {
|
} else {
|
||||||
@@ -199,7 +198,6 @@
|
|||||||
Groups.getGidFromName(groupName, function(err, gid) {
|
Groups.getGidFromName(groupName, function(err, gid) {
|
||||||
if (err || !gid) {
|
if (err || !gid) {
|
||||||
Groups.create(groupName, '', function(err, groupObj) {
|
Groups.create(groupName, '', function(err, groupObj) {
|
||||||
console.log('creating group, calling hide', groupObj.gid);
|
|
||||||
async.parallel([
|
async.parallel([
|
||||||
function(next) {
|
function(next) {
|
||||||
Groups.hide(groupObj.gid, next);
|
Groups.hide(groupObj.gid, next);
|
||||||
|
|||||||
Reference in New Issue
Block a user