From 8d6badbc8197bb25206c4f36aa97a6325590c02b Mon Sep 17 00:00:00 2001 From: Demian Katz <demian.katz@villanova.edu> Date: Tue, 4 Aug 2015 15:03:34 -0400 Subject: [PATCH] Removed meaningless cache logic; minor style tweak. --- module/VuFindTheme/src/VuFindTheme/LessCompiler.php | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/module/VuFindTheme/src/VuFindTheme/LessCompiler.php b/module/VuFindTheme/src/VuFindTheme/LessCompiler.php index dff6388269f..872b86bbc01 100644 --- a/module/VuFindTheme/src/VuFindTheme/LessCompiler.php +++ b/module/VuFindTheme/src/VuFindTheme/LessCompiler.php @@ -141,11 +141,6 @@ class LessCompiler $this->compileFile($theme, $less); } } - - \Less_Cache::SetCacheDir( - APPLICATION_PATH . '/themes/' . $theme . '/css/less/' - ); - \Less_Cache::CleanCache(); // deletes week old files } /** @@ -206,7 +201,7 @@ class LessCompiler [$lessDir . $less => $this->fakePath . "themes/$theme/css/less"], [ 'cache_dir' => $this->tempPath, - 'cache_method' => "php", + 'cache_method' => 'php', 'compress' => true, 'import_dirs' => $directories ] -- GitLab