summaryrefslogtreecommitdiffstats
path: root/core/Command/App
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 10:35:09 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-04-10 10:35:09 +0200
commit14c996d98256de958da367297c3313e0fa7ef9a8 (patch)
tree27074d5403b67cbaf59d7b7181481ebe70af5d9e /core/Command/App
parentd6e17fb01777866674129a5883c03642f4bfd4a5 (diff)
downloadnextcloud-server-14c996d98256de958da367297c3313e0fa7ef9a8.tar.gz
nextcloud-server-14c996d98256de958da367297c3313e0fa7ef9a8.zip
Use elseif instead of else if
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/Command/App')
-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');
}
}