Skip to content

Do not use OC\Server::getAppManager() that was removed#1371

Merged
julien-nc merged 4 commits intomainfrom
fix/noid/get-app-manager-removed
Mar 11, 2026
Merged

Do not use OC\Server::getAppManager() that was removed#1371
julien-nc merged 4 commits intomainfrom
fix/noid/get-app-manager-removed

Conversation

@julien-nc
Copy link
Member

@julien-nc julien-nc commented Mar 11, 2026

  • do not use OC\Server::getAppManager() that was removed
  • use Server::get instead of \OC::->get
  • remove the requesttoken query param when generating the single logout URL in tests because \OC::->getCsrfTokenManager() does not exist anymore
  • fix psalm issues after switching to Server::get

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc force-pushed the fix/noid/get-app-manager-removed branch from c323394 to b2e1bac Compare March 11, 2026 16:54
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
…ogout URL in tests because \OC::->getCsrfTokenManager() does not exist anymore

Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
@julien-nc julien-nc marked this pull request as ready for review March 11, 2026 17:46
@julien-nc julien-nc merged commit e33fbdb into main Mar 11, 2026
65 of 68 checks passed
@julien-nc julien-nc deleted the fix/noid/get-app-manager-removed branch March 11, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant