From 514de5dfa18d92d2f7bb15c9840d685b25300f4c Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 22 Feb 2018 16:00:26 +0100 Subject: Use isInstalled of AppManger instead of reimplement it Signed-off-by: Morris Jobke --- core/Command/App/Install.php | 1 + 1 file changed, 1 insertion(+) (limited to 'core') 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); -- cgit v1.2.3