summaryrefslogtreecommitdiffstats
path: root/core/Command/App/Enable.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/App/Enable.php')
-rw-r--r--core/Command/App/Enable.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/core/Command/App/Enable.php b/core/Command/App/Enable.php
index 2e26184b199..e1605942d82 100644
--- a/core/Command/App/Enable.php
+++ b/core/Command/App/Enable.php
@@ -120,13 +120,14 @@ class Enable extends Command implements CompletionAwareInterface {
}
$installer->installApp($appId, $forceEnable);
+ $appVersion = \OC_App::getAppVersion($appId);
if ($groupIds === []) {
$this->appManager->enableApp($appId, $forceEnable);
- $output->writeln($appId . ' enabled');
+ $output->writeln($appId . ' ' . $appVersion . ' enabled');
} else {
$this->appManager->enableAppForGroups($appId, $groupIds, $forceEnable);
- $output->writeln($appId . ' enabled for groups: ' . implode(', ', $groupNames));
+ $output->writeln($appId . ' ' . $appVersion . ' enabled for groups: ' . implode(', ', $groupNames));
}
} catch (AppPathNotFoundException $e) {
$output->writeln($appId . ' not found');