MDL-14617 removed some legacy group code

This commit is contained in:
skodak
2008-05-01 22:30:28 +00:00
parent a140234015
commit 35987665f4
7 changed files with 6 additions and 120 deletions
+1 -1
View File
@@ -644,7 +644,7 @@ if ($formdata = $mform->is_cancelled()) {
//build group cache
if (is_null($ccache[$shortname]->groups)) {
$ccache[$shortname]->groups = array();
if ($groups = get_groups($courseid)) {
if ($groups = groups_get_all_groups($courseid)) {
foreach ($groups as $gid=>$group) {
$ccache[$shortname]->groups[$gid] = new object();
$ccache[$shortname]->groups[$gid]->id = $gid;