Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: license wordings, minor php warnings corrected
Signed-off-by: yemkareems <[email protected]>
  • Loading branch information
yemkareems committed Apr 16, 2024
commit 5201056b7e63c5d152d87717509f9dbf058d8ad0
11 changes: 5 additions & 6 deletions core/Command/User/ClearGeneratedAvatarCacheCommand.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<?php
/**
* @copyright Copyright (c) 2016 Kareem <[email protected]>
* @copyright Copyright (c) 2024, Nextcloud GmbH
*
* @author Kareem <[email protected]>
*
* @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
Expand Down Expand Up @@ -36,12 +35,12 @@ public function __construct(

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;
Expand Down