mirror of
https://github.com/moodle/moodle.git
synced 2025-02-21 01:48:45 +01:00
templates and fields do not require group support
This commit is contained in:
parent
6e0119dd30
commit
42e118badc
@ -164,21 +164,6 @@
|
||||
break;
|
||||
}
|
||||
|
||||
/// Check to see if groups are being used here
|
||||
if ($groupmode = groupmode($course, $cm)) { // Groups are being used
|
||||
$currentgroup = setup_and_print_groups($course, $groupmode, "view.php?id=$cm->id");
|
||||
} else {
|
||||
$currentgroup = 0;
|
||||
}
|
||||
|
||||
if ($currentgroup) {
|
||||
$groupselect = " AND groupid = '$currentgroup'";
|
||||
$groupparam = "&groupid=$currentgroup";
|
||||
} else {
|
||||
$groupselect = "";
|
||||
$groupparam = "";
|
||||
}
|
||||
|
||||
/// Print the tabs
|
||||
|
||||
$currenttab = 'fields';
|
||||
|
@ -108,21 +108,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
/// Check to see if groups are being used here
|
||||
if ($groupmode = groupmode($course, $cm)) { // Groups are being used
|
||||
$currentgroup = setup_and_print_groups($course, $groupmode, "view.php?id=$cm->id");
|
||||
} else {
|
||||
$currentgroup = 0;
|
||||
}
|
||||
|
||||
if ($currentgroup) {
|
||||
$groupselect = " AND groupid = '$currentgroup'";
|
||||
$groupparam = "&groupid=$currentgroup";
|
||||
} else {
|
||||
$groupselect = "";
|
||||
$groupparam = "";
|
||||
}
|
||||
|
||||
/// Print the tabs
|
||||
$currenttab = 'templates';
|
||||
include('tabs.php');
|
||||
|
Loading…
x
Reference in New Issue
Block a user