summaryrefslogtreecommitdiffstats
path: root/lib/private/legacy
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-02-22 16:00:26 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-03-21 11:34:18 +0100
commit514de5dfa18d92d2f7bb15c9840d685b25300f4c (patch)
tree8a1538364a515507f60077a827de5fce07a1ae38 /lib/private/legacy
parent2d5febd0b9fe7f5b9e6a463fa877fef1148921c8 (diff)
downloadnextcloud-server-514de5dfa18d92d2f7bb15c9840d685b25300f4c.tar.gz
nextcloud-server-514de5dfa18d92d2f7bb15c9840d685b25300f4c.zip
Use isInstalled of AppManger instead of reimplement it
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
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);