Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move reports to be under server email #81 #85

Merged
merged 1 commit into from
Nov 30, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions settings.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
new moodle_url('/admin/tool/emailutils/dkim.php')
));

$ADMIN->add('tool_emailutils', new admin_externalpage(
$ADMIN->add('email', new admin_externalpage(
'tool_emailutils_bounces',
get_string('reportbounces', 'tool_emailutils'),
new moodle_url('/admin/tool/emailutils/bounces.php')
Expand Down Expand Up @@ -140,9 +140,11 @@

$ADMIN->add('tool_emailutils', $settings);

$ADMIN->add('tool_emailutils', new admin_externalpage(
'tool_emailutils_suppressionlist',
new lang_string('aws_suppressionlist', 'tool_emailutils'),
new moodle_url('/admin/tool/emailutils/aws/suppression_list.php')
));
if (get_config('tool_emailutils', 'enable_suppression_list')) {
$ADMIN->add('email', new admin_externalpage(
'tool_emailutils_suppressionlist',
new lang_string('aws_suppressionlist', 'tool_emailutils'),
new moodle_url('/admin/tool/emailutils/aws/suppression_list.php')
));
}
}
Loading