Skip to content

Commit d2ca0de

Browse files
committed
INT-18682: Hide activity description when is a Single discussion forum
1 parent 48d4ccd commit d2ca0de

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)