Skip to content

Remove unused LocaleSwitcher dependency and commented code - #6

Closed
javihgil with Copilot wants to merge 2 commits into
fix-admin-bug-with-sections-previewfrom
copilot/sub-pr-5
Closed

Remove unused LocaleSwitcher dependency and commented code#6
javihgil with Copilot wants to merge 2 commits into
fix-admin-bug-with-sections-previewfrom
copilot/sub-pr-5

Conversation

Copilot AI commented Feb 25, 2026

Copy link
Copy Markdown

Addresses feedback from PR #5 to remove commented-out code and unused dependencies in SectionController.

Changes

  • Removed commented-out $this->localeSwitcher->setLocale() call
  • Removed unused LocaleSwitcher constructor parameter
  • Removed unused LocaleSwitcher import

The locale handling logic remains intact via $request->setLocale().


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Co-authored-by: javihgil <2581053+javihgil@users.noreply.github.com>
Copilot AI changed the title [WIP] Update admin bug fix for sections preview Remove unused LocaleSwitcher dependency and commented code Feb 25, 2026
Copilot AI requested a review from javihgil February 25, 2026 07:36
@javihgil javihgil closed this Feb 25, 2026
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.

2 participants