"Refactor Side Menu JsController to Use IAvatarManager via Dependency Injection for Nextcloud 32 Com #442
No reviewers
Labels
No labels
blocked
bug
duplicate
enhancement
FR accepted
help wanted
invalid
need discussion
next release
not reproduced
PR requested
question
reproduced
WFB
WIP
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
deblan/side_menu!442
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "AndyXheli/side_menu:develop"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
🔧 Problem: The Side Menu app was calling OC\Server::getAvatarManager(), which no longer exists in Nextcloud 32.
✅ Fix:
#441
Injected IAvatarManager using Nextcloud’s public API instead of accessing it via OC::$server.
Updated the constructor to accept IAvatarManager, IUserSession, INavigationManager, and IURLGenerator.
Replaced all direct calls to OC::$server->getAvatarManager() and similar with the injected services.
This makes the app compatible with Nextcloud 32 and avoids deprecated internal method calls.
Signed-off-by: AndyXheli andyxheli@gmail.com
I have to check compatbility with Nextcloud 31.
Nextcloud 31 tested and validated!
Thanks for your contribution!