From a3e7345206cfa67f0690eb7e1899057e8d7c7a92 Mon Sep 17 00:00:00 2001 From: Carlos Romero Brox Date: Mon, 3 Jun 2013 15:02:02 +0200 Subject: [PATCH] Do not check length of group list --- utils/provision.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/provision.js b/utils/provision.js index 7fa0932..4f6b84c 100755 --- a/utils/provision.js +++ b/utils/provision.js @@ -28,8 +28,8 @@ trans = { if(program.expiration) { trans.expirationDelay = program.expiration; } -if(program.groups && program.groups.length!==0) { - trans.groups = program.groups; +if(program.groups) { + trans.groups = program.groups; } if(program.callback) { trans.callback = program.callback;