File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,15 +52,15 @@ function theme_boost_union_get_course_related_hints() {
52
52
53
53
// The general hint will only be shown when the course is viewed.
54
54
if ($ PAGE ->url ->compare (new moodle_url ('/course/view.php ' ), URL_MATCH_BASE )) {
55
- // Prepare template context .
55
+ // Use the default hint text for hidden courses .
56
56
$ hintcoursehiddentext = get_string ('showhintcoursehiddengeneral ' , 'theme_boost_union ' );
57
57
}
58
58
59
59
// If the setting showhintcoursehiddennotifications is set too and we view a forum (e.g. announcement) within a hidden
60
60
// course a hint will be shown that no notifications via forums will be sent out to students.
61
61
if (get_config ('theme_boost_union ' , 'showhintforumnotifications ' ) == THEME_BOOST_UNION_SETTING_SELECT_YES
62
62
&& $ PAGE ->url ->compare (new moodle_url ('/mod/forum/view.php ' ), URL_MATCH_BASE )) {
63
-
63
+ // Use the specialized hint text for hidden courses on forum pages.
64
64
$ hintcoursehiddentext = get_string ('showhintforumnotifications ' , 'theme_boost_union ' );
65
65
}
66
66
You can’t perform that action at this time.
0 commit comments