From: Roeland Jago Douma Date: Wed, 22 Mar 2017 15:22:15 +0000 (+0100) Subject: Add return X-Git-Tag: v12.0.0beta1~311^2~2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b5299b14032ee004e191c5ed1f3c9c1f62db099e;p=nextcloud-server.git Add return Signed-off-by: Roeland Jago Douma --- 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;