mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 09:26:35 +02:00
Merge branch 'MDL-63422' of git://github.com/stronk7/moodle
This commit is contained in:
commit
f8e364e31a
27 changed files with 79 additions and 89 deletions
|
@ -187,7 +187,7 @@ class combined_document {
|
|||
$status = $file->get('status');
|
||||
switch ($status) {
|
||||
case \core_files\conversion::STATUS_COMPLETE:
|
||||
continue;
|
||||
continue 2;
|
||||
break;
|
||||
default:
|
||||
$converter->poll_conversion($conversion);
|
||||
|
|
|
@ -108,7 +108,7 @@ class convert_submissions extends scheduled_task {
|
|||
case combined_document::STATUS_READY:
|
||||
case combined_document::STATUS_PENDING_INPUT:
|
||||
// The document has not been converted yet or is somehow still ready.
|
||||
continue;
|
||||
continue 2;
|
||||
}
|
||||
document_services::get_page_images_for_attempt(
|
||||
$assignment,
|
||||
|
|
|
@ -534,10 +534,9 @@ function mod_assign_get_completion_active_rule_descriptions($cm) {
|
|||
foreach ($cm->customdata['customcompletionrules'] as $key => $val) {
|
||||
switch ($key) {
|
||||
case 'completionsubmit':
|
||||
if (empty($val)) {
|
||||
continue;
|
||||
if (!empty($val)) {
|
||||
$descriptions[] = get_string('completionsubmit', 'assign');
|
||||
}
|
||||
$descriptions[] = get_string('completionsubmit', 'assign');
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue