Skip to content

Commit

Permalink
InfoScreen: remove lom description again (39079)
Browse files Browse the repository at this point in the history
  • Loading branch information
schmitz-ilias committed Feb 13, 2025
1 parent 0084e93 commit 1085c3a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Services/InfoScreen/classes/class.ilInfoScreenGUI.php
Original file line number Diff line number Diff line change
Expand Up @@ -346,8 +346,6 @@ public function addMetaDataSections(int $a_rep_obj_id, int $a_obj_id, string $a_
$md_data_helper = $this->metadata->dataHelper();

// general
$description = $md_reader->firstData($md_paths->descriptions())->value();

$lang_data = $md_reader->allData($md_paths->languages());
$langs = $md_data_helper->makePresentableAsList(', ', ...$lang_data);

Expand All @@ -372,12 +370,6 @@ public function addMetaDataSections(int $a_rep_obj_id, int $a_obj_id, string $a_

// output

// description
if ($description != "") {
$this->addSection($lng->txt("description"));
$this->addProperty("", nl2br($description));
}

// general section
$this->addSection($lng->txt("meta_general"));
if ($langs != "") { // language
Expand Down

0 comments on commit 1085c3a

Please sign in to comment.