fix duble error checking

fix whitespace coding convention
This commit is contained in:
aritas1 2012-02-15 15:57:39 +04:00
parent 8bff85cdb2
commit f7d8f68c13
3 changed files with 49 additions and 53 deletions

View file

@ -105,8 +105,6 @@ exports.deleteGroup = function(groupID, callback)
// remove group from groups entry
db.get("groups", function (err, groups)
{
if(ERR(err, callback)) return;
if(ERR(err, callback)) return;
existingGroups = [];
@ -127,8 +125,6 @@ exports.deleteGroup = function(groupID, callback)
db.remove("group2sessions:" + groupID);
db.remove("group:" + groupID);
callback();
}
], function(err)