summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-03-22 09:55:19 +0100
committerGitHub <noreply@github.com>2018-03-22 09:55:19 +0100
commitf843b7edfe7b3bc6e45d4610778d2df98b3985e3 (patch)
tree396188e1db0681fe4a3b3d55d3585b5915905bab /lib/private/legacy
parentbe35b54f69f7c54318adc3bb46d23506afcebd09 (diff)
parent514de5dfa18d92d2f7bb15c9840d685b25300f4c (diff)
downloadnextcloud-server-f843b7edfe7b3bc6e45d4610778d2df98b3985e3.tar.gz
nextcloud-server-f843b7edfe7b3bc6e45d4610778d2df98b3985e3.zip
Merge pull request #8506 from nextcloud/use-appmanager
Use isInstalled of AppManger instead of reimplement it
Diffstat (limited to 'lib/private/legacy')
-rw-r--r--lib/private/legacy/app.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php
index bc450ffa25d..cabeed1d62d 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -383,6 +383,7 @@ class OC_App {
array $groups = []) {
// Check if app is already downloaded
+ /** @var Installer $installer */
$installer = \OC::$server->query(Installer::class);
$isDownloaded = $installer->isDownloaded($appId);