mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-31 01:34:09 +02:00
Remove dead code from Visitor.php
The method `Visitor::visitColor` seems like a dead code and contains dynamic property allocation. Hence, this method has been removed.
This commit is contained in:
parent
825f3a9b7f
commit
695fe25891
@ -189,16 +189,6 @@ CSS;
|
||||
->setVariable($v);
|
||||
}
|
||||
|
||||
public function visitColor($c)
|
||||
{
|
||||
if ($this->definingVariable !== false) {
|
||||
// Make sure that all less tree colors do have a proper name
|
||||
$c->name = $this->variableOrigin->name;
|
||||
}
|
||||
|
||||
return $c;
|
||||
}
|
||||
|
||||
public function run($node)
|
||||
{
|
||||
$this->lightMode = new LightMode();
|
||||
|
Loading…
x
Reference in New Issue
Block a user