Skip to content

Commit 9556238

Browse files
committed
Issues-392: hide category description
1 parent e01ef3e commit 9556238

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

vanilla/applications/vanilla/views/categories/helper_functions.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -183,9 +183,6 @@ function writeListItem($category, $depth) {
183183
Gdn::controller()->fireEvent('AfterCategoryTitle');
184184
?>
185185
</div>
186-
<div class="CategoryDescription">
187-
<?php echo val('Description', $category) ?>
188-
</div>
189186
<div class="Challenge">
190187
<?php
191188
Gdn::controller()->fireEvent('AfterChallenge', ['Category' =>$category]);

vanilla/applications/vanilla/views/discussions/index.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@
1010
watchButton($this->data('Category.CategoryID')).
1111
'</h1>';
1212

13-
$Description = $this->data('Category.Description', $this->description());
14-
echo wrapIf(Gdn_Format::htmlFilter($Description), 'div', ['class' => 'P PageDescription']);
13+
// $Description = $this->data('Category.Description', $this->description());
14+
// echo wrapIf(Gdn_Format::htmlFilter($Description), 'div', ['class' => 'P PageDescription']);
1515

1616
$this->fireEvent('AfterPageTitle');
1717

0 commit comments

Comments
 (0)