Skip to content
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

Refactor OC\Server::getAvatarManager #40114

Merged

Conversation

summersab
Copy link
Contributor

This PR refactors the deprecated method OC\Server::getAvatarManager and replaces it with OC\Server::get(\OCP\IAvatarManager::class) throughout the entire NC codebase (excluding ./apps and ./3rdparty).

Additionally, where necessary, the \OCP\IAvatarManager class is imported via the use directive.

@summersab summersab force-pushed the refactor/OC-Server-getAvatarManager branch 2 times, most recently from 3e63f6c to 4d9187f Compare August 30, 2023 02:27
@solracsf solracsf added the 3. to review Waiting for reviews label Aug 30, 2023
@solracsf solracsf added this to the Nextcloud 28 milestone Aug 30, 2023
@summersab summersab marked this pull request as draft September 1, 2023 19:57
@summersab summersab force-pushed the refactor/OC-Server-getAvatarManager branch from 4d9187f to c582963 Compare September 1, 2023 19:59
@summersab summersab marked this pull request as ready for review September 1, 2023 20:33
Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
@summersab summersab force-pushed the refactor/OC-Server-getAvatarManager branch from c582963 to 2258058 Compare September 1, 2023 21:43
@kesselb kesselb added 4. to release Ready to be released and/or waiting for tests to finish and removed 3. to review Waiting for reviews labels Sep 4, 2023
@skjnldsv skjnldsv mentioned this pull request Nov 1, 2023
This was referenced Nov 6, 2023
This was referenced Nov 14, 2023
@blizzz blizzz merged commit bc1da2f into nextcloud:master Nov 22, 2023
37 of 40 checks passed
Copy link

welcome bot commented Nov 22, 2023

Thanks for your first pull request and welcome to the community! Feel free to keep them coming! If you are looking for issues to tackle then have a look at this selection: https://github.com/nextcloud/server/issues?q=is%3Aopen+is%3Aissue+label%3A%22good+first+issue%22

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4. to release Ready to be released and/or waiting for tests to finish
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants