aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authoryemkareems <yemkareems@gmail.com>2024-04-16 08:53:15 +0530
committeryemkareems <yemkareems@gmail.com>2024-04-16 08:53:15 +0530
commit5201056b7e63c5d152d87717509f9dbf058d8ad0 (patch)
tree18be26d3df3a02782a7b12f475f30631953f60f5 /core
parent703214fd9c4406e0bf978fe7d09962055b6d2295 (diff)
downloadnextcloud-server-5201056b7e63c5d152d87717509f9dbf058d8ad0.tar.gz
nextcloud-server-5201056b7e63c5d152d87717509f9dbf058d8ad0.zip
feat: license wordings, minor php warnings corrected
Signed-off-by: yemkareems <yemkareems@gmail.com>
Diffstat (limited to 'core')
-rw-r--r--core/Command/User/ClearGeneratedAvatarCacheCommand.php11
1 files changed, 5 insertions, 6 deletions
diff --git a/core/Command/User/ClearGeneratedAvatarCacheCommand.php b/core/Command/User/ClearGeneratedAvatarCacheCommand.php
index c472964b208..3ad7726d56c 100644
--- a/core/Command/User/ClearGeneratedAvatarCacheCommand.php
+++ b/core/Command/User/ClearGeneratedAvatarCacheCommand.php
@@ -1,10 +1,9 @@
<?php
/**
- * @copyright Copyright (c) 2016 Kareem <yemkareems@gmail.com>
+ * @copyright Copyright (c) 2024, Nextcloud GmbH
*
* @author Kareem <yemkareems@gmail.com>
- *
- * @license GNU AGPL version 3 or any later version
+ * @license AGPL-3.0-or-later
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
@@ -36,12 +35,12 @@ class ClearGeneratedAvatarCacheCommand extends Base {
protected function configure(): void {
$this
- ->setName('user:clear-avatar-cache')
- ->setDescription('clear avatar cache');
+ ->setDescription('clear avatar cache')
+ ->setName('user:clear-avatar-cache');
}
protected function execute(InputInterface $input, OutputInterface $output): int {
- $output->writeln("cleared avatar cache started");
+ $output->writeln("clearing avatar cache started");
$this->avatarManager->clearCachedAvatars();
$output->writeln("cleared avatar cache successfully");
return 0;