aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private/Template/CSSResourceLocator.php
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2022-12-07 23:16:06 +0100
committerJulius Härtl <jus@bitgrid.net>2022-12-07 23:55:32 +0100
commit4bcaeb6c2cd0e9c5bb87995aac8df849bedd0b70 (patch)
treecc0d3bac06512581e98940f40ecdb7a802b7cd41 /lib/private/Template/CSSResourceLocator.php
parentf0a0bfaaeef447157801f116e90435114b271572 (diff)
downloadnextcloud-server-4bcaeb6c2cd0e9c5bb87995aac8df849bedd0b70.tar.gz
nextcloud-server-4bcaeb6c2cd0e9c5bb87995aac8df849bedd0b70.zip
Drop 3rdparty root since it is unused and adjust tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib/private/Template/CSSResourceLocator.php')
-rw-r--r--lib/private/Template/CSSResourceLocator.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/private/Template/CSSResourceLocator.php b/lib/private/Template/CSSResourceLocator.php
index beb5178476b..5047b3e906f 100644
--- a/lib/private/Template/CSSResourceLocator.php
+++ b/lib/private/Template/CSSResourceLocator.php
@@ -44,8 +44,7 @@ class CSSResourceLocator extends ResourceLocator {
public function doFind($style) {
$app = substr($style, 0, strpos($style, '/'));
if (strpos($style, '3rdparty') === 0
- && $this->appendIfExist($this->thirdpartyroot, $style.'.css')
- || $this->appendIfExist($this->serverroot, $style.'.css')
+ && $this->appendIfExist($this->serverroot, $style.'.css')
|| $this->appendIfExist($this->serverroot, 'core/'.$style.'.css')
) {
return;