From 66b0be3d7267d17b9f91fe1ae37ac24e0562b3c4 Mon Sep 17 00:00:00 2001 From: jld3103 Date: Tue, 9 May 2023 12:27:46 +0200 Subject: [PATCH] Clear generated avatar caches Signed-off-by: jld3103 --- lib/private/Repair/ClearGeneratedAvatarCache.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/private/Repair/ClearGeneratedAvatarCache.php b/lib/private/Repair/ClearGeneratedAvatarCache.php index 844bf6cf346f9..ede91f69549eb 100644 --- a/lib/private/Repair/ClearGeneratedAvatarCache.php +++ b/lib/private/Repair/ClearGeneratedAvatarCache.php @@ -51,8 +51,7 @@ public function getName(): string { private function shouldRun(): bool { $versionFromBeforeUpdate = $this->config->getSystemValueString('version', '0.0.0.0'); - // was added to 25.0.0.10 - return version_compare($versionFromBeforeUpdate, '25.0.0.10', '<='); + return version_compare($versionFromBeforeUpdate, '27.0.0', '<'); } public function run(IOutput $output): void {