summaryrefslogtreecommitdiffstats
path: root/core/Command/App/Update.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/App/Update.php')
-rw-r--r--core/Command/App/Update.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Command/App/Update.php b/core/Command/App/Update.php
index 8aa7bccb1a2..4be2f4639ef 100644
--- a/core/Command/App/Update.php
+++ b/core/Command/App/Update.php
@@ -92,7 +92,7 @@ class Update extends Command {
return 1;
}
- } else if ($input->getOption('all') || $input->getOption('showonly')) {
+ } elseif ($input->getOption('all') || $input->getOption('showonly')) {
$apps = \OC_App::getAllApps();
} else {
$output->writeln("<error>Please specify an app to update or \"--all\" to update all updatable apps\"</error>");
@@ -117,7 +117,7 @@ class Update extends Command {
if ($result === false) {
$output->writeln($appId . ' couldn\'t be updated');
$return = 1;
- } else if($result === true) {
+ } elseif($result === true) {
$output->writeln($appId . ' updated');
}
}