MDL-20236 overall codebase architecture cleanup and fixing regression
See the issue description for more details
This commit is contained in:
@@ -53,8 +53,8 @@ $wsoutput = $PAGE->theme->get_renderer('mod_workshop', $PAGE);
|
||||
|
||||
switch ($tool) {
|
||||
case 'mksubmissions':
|
||||
$authors = $workshop->get_potential_authors(false);
|
||||
$authorswithsubmission = $workshop->get_potential_authors(true);
|
||||
$authors = $workshop->get_potential_authors($PAGE->context, false);
|
||||
$authorswithsubmission = $workshop->get_potential_authors($PAGE->context, true);
|
||||
$authors = array_diff_key($authors, $authorswithsubmission);
|
||||
echo $OUTPUT->header();
|
||||
$c = 0; // counter
|
||||
|
||||
Reference in New Issue
Block a user