summaryrefslogtreecommitdiffstats
path: root/core
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 /core
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 'core')
-rw-r--r--core/Command/App/Install.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/Command/App/Install.php b/core/Command/App/Install.php
index 4432a1f40ac..525b0095f04 100644
--- a/core/Command/App/Install.php
+++ b/core/Command/App/Install.php
@@ -58,6 +58,7 @@ class Install extends Command {
}
try {
+ /** @var Installer $installer */
$installer = \OC::$server->query(Installer::class);
$installer->downloadApp($appId);
$result = $installer->installApp($appId);