Skip to content

Commit

Permalink
Further additional update to code to conform to Moodle coding standards
Browse files Browse the repository at this point in the history
  • Loading branch information
nbozhkov-ucl committed Nov 2, 2023
1 parent 0b53d04 commit d62dc9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,8 @@ 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))) {
'local/sitsgradepush:mapassessment',
context_course::instance($formwrapper->get_course()->id),)) {
return;
}
$manager = manager::get_manager();
Expand Down

0 comments on commit d62dc9a

Please sign in to comment.