Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
enh(menu): remove deprecated notif from menu (#9715)
Browse files Browse the repository at this point in the history
  • Loading branch information
adr-mo committed Apr 20, 2021
1 parent ee6c487 commit f172461
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions src/Centreon/Domain/Entity/Topology.php
Original file line number Diff line number Diff line change
Expand Up @@ -154,13 +154,7 @@ public function setTopologyId(int $topology_id): void
public function getTopologyName(): ?string
{
// get translated menu entry
$topologyName = _($this->topology_name);

if ($this->getIsDeprecated() === true) {
$topologyName .= ' (' . _('deprecated') . ')';
}

return $topologyName;
return _($this->topology_name);
}

/**
Expand Down

0 comments on commit f172461

Please sign in to comment.