MDL-26577 fix several groups and groupings issues
commitcf76e10e4a44e02ddd0b0e04ccaf738e051a4a94
authorPetr Skoda <commits@skodak.org>
Sun, 10 Apr 2011 11:25:47 +0000 (10 13:25 +0200)
committerPetr Skoda <commits@skodak.org>
Sun, 10 Apr 2011 11:28:02 +0000 (10 13:28 +0200)
tree5b52805706bf8dd494d1f5e116a31128a5d286e4
parenteb9d692f8b6fd389704a538bb23517ce9dac7b24
MDL-26577 fix several groups and groupings issues

The current group in verified on each page which prevents problems when group settings are changed. The default group for course level is now using correct grouping id which solves problems when activity and course are using different grouping. The grouping is now displayed in group selector if user has access to all groups.
lib/grouplib.php