diff options
author | Julius Härtl <jus@bitgrid.net> | 2022-12-07 23:16:06 +0100 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2022-12-07 23:55:32 +0100 |
commit | 4bcaeb6c2cd0e9c5bb87995aac8df849bedd0b70 (patch) | |
tree | cc0d3bac06512581e98940f40ecdb7a802b7cd41 /lib/private/Template/JSResourceLocator.php | |
parent | f0a0bfaaeef447157801f116e90435114b271572 (diff) | |
download | nextcloud-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/JSResourceLocator.php')
-rw-r--r-- | lib/private/Template/JSResourceLocator.php | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/private/Template/JSResourceLocator.php b/lib/private/Template/JSResourceLocator.php index 00cfde1f9f5..88323af75de 100644 --- a/lib/private/Template/JSResourceLocator.php +++ b/lib/private/Template/JSResourceLocator.php @@ -45,10 +45,6 @@ class JSResourceLocator extends ResourceLocator { */ public function doFind($script) { $theme_dir = 'themes/'.$this->theme.'/'; - if (strpos($script, '3rdparty') === 0 - && $this->appendIfExist($this->thirdpartyroot, $script.'.js')) { - return; - } // Extracting the appId and the script file name $app = substr($script, 0, strpos($script, '/')); |