diff --git a/src/groups.js b/src/groups.js index ed9f38f472..38c8704813 100644 --- a/src/groups.js +++ b/src/groups.js @@ -642,10 +642,6 @@ var async = require('async'), callback = callback || function() {}; - if (!parseInt(uid, 10)) { - return callback(new Error('[[error:invalid-uid]]')); - } - Groups.exists(groupName, function(err, exists) { if (err) { return callback(err);