aboutsummaryrefslogtreecommitdiffstats
path: root/core/Command/User/ClearGeneratedAvatarCacheCommand.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/Command/User/ClearGeneratedAvatarCacheCommand.php')
-rw-r--r--core/Command/User/ClearGeneratedAvatarCacheCommand.php24
1 files changed, 4 insertions, 20 deletions
diff --git a/core/Command/User/ClearGeneratedAvatarCacheCommand.php b/core/Command/User/ClearGeneratedAvatarCacheCommand.php
index 45ee4d36051..515b3a913b7 100644
--- a/core/Command/User/ClearGeneratedAvatarCacheCommand.php
+++ b/core/Command/User/ClearGeneratedAvatarCacheCommand.php
@@ -3,24 +3,8 @@
declare(strict_types=1);
/**
- * @copyright Copyright (c) 2024, Nextcloud GmbH
- *
- * @author Kareem <yemkareems@gmail.com>
- * @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
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
+ * SPDX-FileCopyrightText: 2024 Nextcloud GmbH and Nextcloud contributors
+ * SPDX-License-Identifier: AGPL-3.0-or-later
*/
namespace OC\Core\Command\User;
@@ -43,9 +27,9 @@ class ClearGeneratedAvatarCacheCommand extends Base {
}
protected function execute(InputInterface $input, OutputInterface $output): int {
- $output->writeln("Clearing avatar cache has started");
+ $output->writeln('Clearing avatar cache has started');
$this->avatarManager->clearCachedAvatars();
- $output->writeln("Cleared avatar cache successfully");
+ $output->writeln('Cleared avatar cache successfully');
return 0;
}
}