Skip to content

Commit

Permalink
Further second additional update to code to conform to Moodle coding …
Browse files Browse the repository at this point in the history
…standards
  • Loading branch information
nbozhkov-ucl committed Nov 2, 2023
1 parent d62dc9a commit 6655768
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ function local_sitsgradepush_coursemodule_standard_elements($formwrapper, $mform
// Do not show settings if user does not have the capability.
if (!has_capability(
'local/sitsgradepush:mapassessment',
context_course::instance($formwrapper->get_course()->id),)) {
context_course::instance($formwrapper->get_course()->id))) {
return;
}
$manager = manager::get_manager();
Expand Down

0 comments on commit 6655768

Please sign in to comment.