Merge pull request #22417 from owncloud/issue-22389-duplicate-output-message

Remove inaccurate "is already enabled" message
This commit is contained in:
Morris Jobke 2016-02-16 13:21:38 +01:00
commit 3e8b025f2f

View file

@ -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');