Skip to content

Commit

Permalink
Fixed CI grunt and report builder issues
Browse files Browse the repository at this point in the history
  • Loading branch information
prasanna-lmsace committed Nov 25, 2023
1 parent 7f96f45 commit f96a2e4
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 10 deletions.
2 changes: 1 addition & 1 deletion actions/notification/amd/build/chaptersource.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion actions/notification/amd/build/chaptersource.min.js.map

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions actions/notification/classes/notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,7 @@ protected function generate_the_scheduletime($userid, $lastrun=null, $expectedru
*
* @param array $roles Role ids to fetch
* @param \context $context
* @param int $childuserid
* @return array List of the users.
*/
protected function get_users_withroles(array $roles, $context, $childuserid=null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ public function get_default_columns(): array {
* @return array
*/
public function get_default_filters(): array {
return [
'notification:instanceid'
];
return [];
}

/**
Expand All @@ -133,9 +131,7 @@ public function get_default_filters(): array {
*/
public function get_default_conditions(): array {

return [
'notification:instanceid'
];
return [];
}

}
2 changes: 1 addition & 1 deletion amd/build/automation.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion amd/build/module.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions classes/automation/instances.php
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,11 @@ public function get_report_url() {
return $url;
}

/**
* Get the id of the instance report builder.
*
* @return int
*/
public static function get_reportid() {
global $DB;

Expand Down

0 comments on commit f96a2e4

Please sign in to comment.