From b5299b14032ee004e191c5ed1f3c9c1f62db099e Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Wed, 22 Mar 2017 16:22:15 +0100 Subject: [PATCH] Add return Signed-off-by: Roeland Jago Douma --- lib/private/Template/JSResourceLocator.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Template/JSResourceLocator.php b/lib/private/Template/JSResourceLocator.php index 41b44c143ef..32a01565c69 100644 --- a/lib/private/Template/JSResourceLocator.php +++ b/lib/private/Template/JSResourceLocator.php @@ -95,7 +95,6 @@ class JSResourceLocator extends ResourceLocator { if (is_file($root.'/'.$file)) { if ($this->jsCombiner->process($root, $file, $app)) { $this->append($this->serverroot, $this->jsCombiner->getCachedJS($app, $file), false, false); - return true; } else { // Add all the files from the json $files = $this->jsCombiner->getContent($root, $file); @@ -105,6 +104,7 @@ class JSResourceLocator extends ResourceLocator { $this->append($root, $jsFile, $app_url); } } + return true; } return false; -- 2.39.5