Skip to content

Refactor OC\Server::getNotificationManager - #40147

Merged
skjnldsv merged 3 commits into
nextcloud:masterfrom
summersab:refactor/OC-Server-getNotificationManager
May 31, 2024
Merged

Refactor OC\Server::getNotificationManager#40147
skjnldsv merged 3 commits into
nextcloud:masterfrom
summersab:refactor/OC-Server-getNotificationManager

Conversation

@summersab

Copy link
Copy Markdown
Contributor

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

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

Signed-off-by: Andrew Summers <18727110+summersab@users.noreply.github.com>
@summersab
summersabforce-pushed the refactor/OC-Server-getNotificationManager branch from 7086cc5 to 5dccf25CompareAugust 30, 2023 02:32
@solracsfsolracsf added the 3. to review Waiting for reviews label Aug 30, 2023
@solracsfsolracsf added this to the Nextcloud 28 milestone Aug 30, 2023
@skjnldsvskjnldsv mentioned this pull request Nov 1, 2023
This was referenced Nov 6, 2023
This was referenced Nov 14, 2023
@blizzzblizzz modified the milestones: Nextcloud 28, Nextcloud 29Nov 23, 2023
@skjnldsvskjnldsv added the technical debt 🧱 🤔🚀 label Feb 23, 2024
This was referenced Mar 12, 2024
This was referenced Mar 20, 2024
@skjnldsvskjnldsv mentioned this pull request Mar 28, 2024
81 tasks
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
@skjnldsv
skjnldsv requested review from a team, ArtificialOwl, artonge, come-nc and icewind1991 and removed request for a teamMay 30, 2024 12:33
@skjnldsvskjnldsv removed the 3. to review Waiting for reviews label May 30, 2024
@skjnldsvskjnldsv added the 4. to release Ready to be released and/or waiting for tests to finish label May 30, 2024
Comment threadcore/Application.php Outdated
Comment threadlib/private/User/User.php Outdated
Signed-off-by: John Molakvoæ <skjnldsv@users.noreply.github.com>
@skjnldsv
skjnldsv merged commit 95dc772 into nextcloud:masterMay 31, 2024
@blizzzblizzz mentioned this pull request Jul 24, 2024
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

4. to releaseReady to be released and/or waiting for tests to finishtechnical debt🧱 🤔🚀

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@summersab@artonge@skjnldsv@blizzz@solracsf