mirror of
https://github.com/nextcloud/server.git
synced 2024-08-23 17:57:31 +02:00
Add return
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
This commit is contained in:
parent
90910290d1
commit
b5299b1403
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user