mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-29 08:44:10 +02:00
LessCompiler: remove obsolete cache-related comment
This commit is contained in:
parent
ab71b1cf1c
commit
b14e7f5696
@ -86,16 +86,6 @@ class LessCompiler
|
|||||||
|
|
||||||
public function compile()
|
public function compile()
|
||||||
{
|
{
|
||||||
//TODO:
|
|
||||||
/* $tmpfile = '/tmp/icinga.less';
|
|
||||||
$cssfile = '/tmp/icinga.css';
|
|
||||||
if (! file_exists($tmpfile)) {
|
|
||||||
file_put_contents($tmpfile, $this->source);
|
|
||||||
}
|
|
||||||
if ($this->lessc->checkedCompile($tmpfile, $cssfile)) {
|
|
||||||
}
|
|
||||||
return file_get_contents($cssfile);
|
|
||||||
*/
|
|
||||||
return $this->lessc->compile($this->source);
|
return $this->lessc->compile($this->source);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user