Skip to content

Commit

Permalink
LessCompiler: remove obsolete cache-related comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Gelf committed Sep 5, 2014
1 parent ab71b1c commit b14e7f5
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions library/Icinga/Web/LessCompiler.php
Expand Up @@ -86,16 +86,6 @@ public function addFile($filename)

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);
}

Expand Down

0 comments on commit b14e7f5

Please sign in to comment.