-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Clear avatar cache with frontend repair #12313
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
959f092 to
78dd2ce
Compare
MorrisJobke
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code makes sense 👍
78dd2ce to
a884be4
Compare
|
Failure unrelated |
lib/public/IAvatarManager.php
Outdated
| * @see IAvatar | ||
| * @since 15.0.0 | ||
| */ | ||
| public function clearCachedAvatars(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this doing in the public namespace.
IMO we should just inject the private class in the repair step and keep this out of here. I see no reason for an app to trigger this.
87e581f to
1c13c34
Compare
Signed-off-by: John Molakvoæ (skjnldsv) <[email protected]>
1c13c34 to
a9eef37
Compare
| new AddCleanupUpdaterBackupsJob(\OC::$server->getJobList()), | ||
| new RepairPendingCronJobs(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig()), | ||
| new SetVcardDatabaseUID(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig()), | ||
| new SetVcardDatabaseUID(\OC::$server->getDatabaseConnection(), \OC::$server->getConfig()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We always kept a trailing , in arrays to make the diff for adding a new entry nicer. It then only has this one line added instead of also appending a , to the previous line.
Fix #12058
@nextcloud/designers