diff options
Diffstat (limited to 'core/command')
-rw-r--r-- | core/command/app/disable.php | 1 | ||||
-rw-r--r-- | core/command/app/enable.php | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/core/command/app/disable.php b/core/command/app/disable.php index fc634bb32cf..f2096448279 100644 --- a/core/command/app/disable.php +++ b/core/command/app/disable.php @@ -51,7 +51,6 @@ class Disable extends Command { } } else { $output->writeln('No such app enabled: ' . $appId); - return 1; } } } diff --git a/core/command/app/enable.php b/core/command/app/enable.php index d3733f0f133..907006961dc 100644 --- a/core/command/app/enable.php +++ b/core/command/app/enable.php @@ -43,7 +43,6 @@ class Enable extends Command { $appId = $input->getArgument('app-id'); if (\OC_App::isEnabled($appId)) { $output->writeln($appId . ' is already enabled'); - return 2; } else if (!\OC_App::getAppPath($appId)) { $output->writeln($appId . ' not found'); return 1; |