Area: Cross-cutting infra (audit p14) · Surface: platform/templates/email/system-announcement.php · Dimension: deadcode · Severity: minor
templates/email/system-announcement.php is never passed to MailService::send(). It is a 415-byte stub template with no caller.
Evidence
Zero inbound references. `$ grep -rnE "'system-announcement'|\"system-announcement\"" src/ bin/ public/ --include=*.php` → (empty). The only 'system-announcement' hit anywhere is an unrelated forum-slug list in ForumController.php:1313 ('system-announcements', plural, a forum slug — not the email template).
Suggested fix. Delete templates/email/system-announcement.php, or wire it into a broadcast/announcement email path if system-announcement emails are intended.
Filed by the automated tenant-app audit and adversarially evidence-verified. Status: verified. Open — not yet actioned.
Patrick Bass
@mobieus