Skip to content

Commit

Permalink
Tidy unused elements
Browse files Browse the repository at this point in the history
  • Loading branch information
jcopado committed Nov 6, 2023
1 parent bea4c02 commit 3ddc5e0
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1383,10 +1383,6 @@ public function setTitleAndDescription(): void
$q_gui = assQuestionGUI::_getQuestionGUI('', $this->qplrequest->getQuestionId());
if ($q_gui->object instanceof assQuestion) {
$q_gui->object->setObjId($this->object->getId());
$title = $q_gui->object->getTitle();
if (!$title) {
$title = $this->lng->txt('new') . ': ' . $this->questioninfo->getQuestionType($q_gui->object->getId());
}
$this->tpl->setTitle($this->object->getTitle());
$this->tpl->setDescription($q_gui->object->getComment());
$this->tpl->setTitleIcon(ilObject2::_getIcon($this->object->getId(), 'big', $this->object->getType()));
Expand Down

0 comments on commit 3ddc5e0

Please sign in to comment.