1
0
Fork 0
mirror of https://gitnet.fr/deblan/side_menu.git synced 2025-12-18 05:10:50 +01:00
side_menu/lib
AndyXheli 58cfbc24af "Refactor Side Menu JsController to Use IAvatarManager via Dependency Injection for Nextcloud 32 Com
🔧 Problem: The Side Menu app was calling OC\Server::getAvatarManager(), which no longer exists in Nextcloud 32.

✅ Fix:

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>
2025-09-20 16:25:58 +02:00
..
AppInfo refactor(Application): add properties types 2025-04-30 12:45:32 +02:00
Controller "Refactor Side Menu JsController to Use IAvatarManager via Dependency Injection for Nextcloud 32 Com 2025-09-20 16:25:58 +02:00
Service format code 2025-04-16 09:13:54 +02:00
Settings format code 2025-04-16 09:13:54 +02:00