Is user in a group set?
Permalink
Hi all,
I am wandering if there is a single command that decides if a user is in a Group Set. This would reduce the three if conditions:
if(!$u->inGroup($Administrators) && !$u->inGroup($Editors) && !$u->inGroup($Moderators))
to one!
Thanks,
Konstantinos
I am wandering if there is a single command that decides if a user is in a Group Set. This would reduce the three if conditions:
if(!$u->inGroup($Administrators) && !$u->inGroup($Editors) && !$u->inGroup($Moderators))
to one!
Thanks,
Konstantinos
http://www.concrete5.org/marketplace/addons/registrant-group/...