]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add return
authorRoeland Jago Douma <roeland@famdouma.nl>
Wed, 22 Mar 2017 15:22:15 +0000 (16:22 +0100)
committerRoeland Jago Douma <roeland@famdouma.nl>
Fri, 24 Mar 2017 09:58:11 +0000 (10:58 +0100)
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
lib/private/Template/JSResourceLocator.php

index 41b44c143efb2739d641b7c9be7f0af847d321e1..32a01565c699ddc6dfd25c95502686bd0428acb6 100644 (file)
@@ -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;