MDL-33466: Group restriction should hide activity even with 'show availability' option
MDL-33466: Group restriction should hide activity even with 'show availability' option

This is a modified version of fix by Luke Tucker at NetSpot - thanks.

dilawar/moodle