]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove unused webroot
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Tue, 24 Jan 2017 16:27:35 +0000 (17:27 +0100)
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Tue, 24 Jan 2017 16:27:35 +0000 (17:27 +0100)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
lib/private/Template/CSSResourceLocator.php

index bcc43198cbb6014b1235d1719eccc5a5aad1bb9d..02a7ab7e10e99ce230fbfc9f60733d13a668366f 100644 (file)
@@ -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']);