Skip to content

Commit

Permalink
Move reports to be under server email #81
Browse files Browse the repository at this point in the history
  • Loading branch information
bwalkerl authored and brendanheywood committed Nov 30, 2024
1 parent 95349a7 commit 1523f80
Showing 1 changed file with 8 additions and 6 deletions.
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')
));
}
}

0 comments on commit 1523f80

Please sign in to comment.