File tree 1 file changed +8
-6
lines changed
1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change 37
37
new moodle_url ('/admin/tool/emailutils/dkim.php ' )
38
38
));
39
39
40
- $ ADMIN ->add ('tool_emailutils ' , new admin_externalpage (
40
+ $ ADMIN ->add ('email ' , new admin_externalpage (
41
41
'tool_emailutils_bounces ' ,
42
42
get_string ('reportbounces ' , 'tool_emailutils ' ),
43
43
new moodle_url ('/admin/tool/emailutils/bounces.php ' )
140
140
141
141
$ ADMIN ->add ('tool_emailutils ' , $ settings );
142
142
143
- $ ADMIN ->add ('tool_emailutils ' , new admin_externalpage (
144
- 'tool_emailutils_suppressionlist ' ,
145
- new lang_string ('aws_suppressionlist ' , 'tool_emailutils ' ),
146
- new moodle_url ('/admin/tool/emailutils/aws/suppression_list.php ' )
147
- ));
143
+ if (get_config ('tool_emailutils ' , 'enable_suppression_list ' )) {
144
+ $ ADMIN ->add ('email ' , new admin_externalpage (
145
+ 'tool_emailutils_suppressionlist ' ,
146
+ new lang_string ('aws_suppressionlist ' , 'tool_emailutils ' ),
147
+ new moodle_url ('/admin/tool/emailutils/aws/suppression_list.php ' )
148
+ ));
149
+ }
148
150
}
You can’t perform that action at this time.
0 commit comments