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

View 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;