Skip to content

Remove unused /config/ request and SMS notifications from zmsticketprinter #1807

@coderabbitai

Description

@coderabbitai

Description

Remove the unused /config/ request and SMS notification functionality from zmsticketprinter and related cleanup in zmsadmin.

Context

PR #1806 fixed recurring crashes in zmsticketprinter by commenting out the /config/ API calls and adding default values where config was used. This issue tracks the complete removal of that commented code and SMS notification functionality.

What needs to be removed

Controller files: Remove commented-out /config/ API calls from:

  • zmsticketprinter/src/Zmsticketprinter/Index.php
  • zmsticketprinter/src/Zmsticketprinter/Process.php
  • zmsticketprinter/src/Zmsticketprinter/TicketprinterByScope.php

Template files: Remove SMS notification blocks from:

  • zmsticketprinter/templates/block/content/buttons.twig
  • zmsticketprinter/templates/page/process.twig
  • zmsadmin/templates/block/scope/form.twig (the SMS checkbox configuration)

Test files: Remove commented-out config endpoint mocks from all test files in zmsticketprinter/tests/

TODO comments: Remove all TODO comments referencing this issue.

References

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions