summaryrefslogtreecommitdiffstats
path: root/core/command
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@owncloud.com>2016-02-16 10:59:06 +0100
committerJoas Schilling <nickvergessen@owncloud.com>2016-02-16 10:59:06 +0100
commit4eef8afe9b40e69b8a429b262ebe7952199ba74c (patch)
treeb27b70acfe4d9c73723a48f43be6104c12ee3406 /core/command
parent1cb3583a9a28c13d07fa83b569bfa78df9cbf79d (diff)
downloadnextcloud-server-4eef8afe9b40e69b8a429b262ebe7952199ba74c.tar.gz
nextcloud-server-4eef8afe9b40e69b8a429b262ebe7952199ba74c.zip
Remove inaccurate "is already enabled" message
Diffstat (limited to 'core/command')
-rw-r--r--core/command/app/enable.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/core/command/app/enable.php b/core/command/app/enable.php
index 4315972bae2..fb2097356f5 100644
--- a/core/command/app/enable.php
+++ b/core/command/app/enable.php
@@ -70,10 +70,6 @@ class Enable extends Command {
}
$groups = $input->getOption('groups');
- if ($this->manager->isInstalled($appId) && empty($groups)) {
- $output->writeln($appId . ' is already enabled');
- }
-
if (empty($groups)) {
\OC_App::enable($appId);
$output->writeln($appId . ' enabled');