diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-01-24 17:27:35 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2017-01-24 17:27:35 +0100 |
commit | a440c3e94c8c82b433341f04ae9d4b7213d6d974 (patch) | |
tree | cad49fed0515901ef911af1fe5ad096ae38a20c7 /lib/private/Template/CSSResourceLocator.php | |
parent | 4ceb2bf84ce4c40345feae3846a0f5aae926ce1f (diff) | |
download | nextcloud-server-a440c3e94c8c82b433341f04ae9d4b7213d6d974.tar.gz nextcloud-server-a440c3e94c8c82b433341f04ae9d4b7213d6d974.zip |
Remove unused webroot
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'lib/private/Template/CSSResourceLocator.php')
-rw-r--r-- | lib/private/Template/CSSResourceLocator.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/private/Template/CSSResourceLocator.php b/lib/private/Template/CSSResourceLocator.php index bcc43198cbb..02a7ab7e10e 100644 --- a/lib/private/Template/CSSResourceLocator.php +++ b/lib/private/Template/CSSResourceLocator.php @@ -82,14 +82,13 @@ class CSSResourceLocator extends ResourceLocator { * * @param string $root path to check * @param string $file the filename - * @param string|null $webRoot base for path, default map $root to $webRoot * @return bool True if the resource was found and cached, false otherwise */ - protected function cacheAndAppendScssIfExist($root, $file, $webRoot = null, $app = 'core') { + protected function cacheAndAppendScssIfExist($root, $file, $app = 'core') { if (is_file($root.'/'.$file)) { if($this->scssCacher !== null) { if($this->scssCacher->process($root, $file, $app)) { - $this->append($root, $this->scssCacher->getCachedSCSS($app, $file), $webRoot, false); + $this->append($root, $this->scssCacher->getCachedSCSS($app, $file), false); return true; } else { $this->logger->error('Failed to compile and/or save '.$root.'/'.$file, ['app' => 'core']); |