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
adjust patch
Signed-off-by: Simon L <[email protected]>

Signed-off-by: Simon L. <[email protected]>
  • Loading branch information
szaimen authored May 16, 2023
commit 45ecabf7a18604a92051c797870438bd52f363bd
4 changes: 2 additions & 2 deletions lib/private/Repair/ClearGeneratedAvatarCache.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ public function getName(): string {
private function shouldRun(): bool {
$versionFromBeforeUpdate = $this->config->getSystemValue('version', '0.0.0.0');

// This job only runs if the server was on a version lower than or equal to 27.0.0 before the upgrade.
// This job only runs if the server was on a version lower than or equal to 26.0.2 before the upgrade.
// To clear the avatar cache again, bump the version to the currently released version (and change the operator to <= if it's not the master branch) and wait for the next release.
return version_compare($versionFromBeforeUpdate, '27.0.0', '<');
return version_compare($versionFromBeforeUpdate, '26.0.2', '<');
}

public function run(IOutput $output): void {
Expand Down