Skip to content

Commit

Permalink
issue danmarsden#135: do not display warning if 'Do nothing' is selec…
Browse files Browse the repository at this point in the history
…ted for mod_certificate
  • Loading branch information
dmitriim committed Nov 26, 2023
1 parent 40be9f3 commit dfef4c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/plugins/mod_certificate.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public static function editingform(MoodleQuickForm $mform): void {
$mform->disabledIf('certificate', 'enable');
$mform->disabledIf('archivecertificate', 'enable');
$mform->hideIf('archivecertificate', 'certificate', 'noteq', LOCAL_RECOMPLETION_DELETE);
$mform->hideIf('certificateverifywarn', 'certificate', 'noteq', LOCAL_RECOMPLETION_DELETE);
$mform->hideIf('certificateverifywarngroup', 'certificate', 'noteq', LOCAL_RECOMPLETION_DELETE);
}

/**
Expand Down

0 comments on commit dfef4c3

Please sign in to comment.