Add return

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
Roeland Jago Douma 2017-03-22 16:22:15 +01:00
parent 90910290d1
commit b5299b1403
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with 1 additions and 1 deletions

View File

@ -95,7 +95,6 @@ class JSResourceLocator extends ResourceLocator {
if (is_file($root.'/'.$file)) { if (is_file($root.'/'.$file)) {
if ($this->jsCombiner->process($root, $file, $app)) { if ($this->jsCombiner->process($root, $file, $app)) {
$this->append($this->serverroot, $this->jsCombiner->getCachedJS($app, $file), false, false); $this->append($this->serverroot, $this->jsCombiner->getCachedJS($app, $file), false, false);
return true;
} else { } else {
// Add all the files from the json // Add all the files from the json
$files = $this->jsCombiner->getContent($root, $file); $files = $this->jsCombiner->getContent($root, $file);
@ -105,6 +104,7 @@ class JSResourceLocator extends ResourceLocator {
$this->append($root, $jsFile, $app_url); $this->append($root, $jsFile, $app_url);
} }
} }
return true;
} }
return false; return false;