Skip to content

Commit 5dcc8e7

Browse files
fabianbatiojaMr Bot
authored andcommitted
Merge pull request #6364 in DEV/moodle from fix/INT-18682_wilted-porpoise to release/4.0+1
* commit 'b4b2580ff689d3147e76b1a613eb77285bd5f2be': INT-18682: Hide activity description when is a Single discussion forum
2 parents 5d2855e + d2ca0de commit 5dcc8e7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

discuss.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,7 @@
338338
if ($forum->type == 'single') {
339339
$context = \context_module::instance($cm->id);
340340
$forumobject = $DB->get_record("hsuforum", ["id" => $PAGE->cm->instance]);
341+
echo "<style>#page-mod-hsuforum-discuss .activity-description { display: none; }</style>";
341342
echo hsuforum_search_form($course, $forum->id);
342343
// Don't allow non logged in users, or guest to try to manage subscriptions.
343344
if (isloggedin() && !isguestuser()) {

0 commit comments

Comments
 (0)