diff options
author | Roeland Jago Douma <roeland@famdouma.nl> | 2017-03-22 16:22:15 +0100 |
---|---|---|
committer | Roeland Jago Douma <roeland@famdouma.nl> | 2017-03-24 10:58:11 +0100 |
commit | b5299b14032ee004e191c5ed1f3c9c1f62db099e (patch) | |
tree | 5ccd3921fa871f6009399e7a55c4c9448d1f7470 /lib/private/Template | |
parent | 90910290d17390889b5f8ffe97de9105f23d094b (diff) | |
download | nextcloud-server-b5299b14032ee004e191c5ed1f3c9c1f62db099e.tar.gz nextcloud-server-b5299b14032ee004e191c5ed1f3c9c1f62db099e.zip |
Add return
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'lib/private/Template')
-rw-r--r-- | lib/private/Template/JSResourceLocator.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |