Make the poll reset only delete responses
CI / Deploy / test (push) Successful in 52s
CI / Deploy / deploy (push) Skipped

The presentation (current slide, pause) and the open/closed state of
slides are kept. Only quiz and Q&A slides go back to their start, as
the per-slide reset already did before.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-08 20:34:41 +01:00
1 parent e1b327899f
commit 8644d4bc4a
7 files changed
+37 -54

No files matched your search

-12
View File
@@ -99,18 +99,6 @@ class Poll extends Entity
$this->embed_seen_at = null;
}
/**
* Back to "not started": no slide live, nothing to resume. Idempotent.
*
* @return void
*/
public function restart(): void
{
$this->current_slide_id = null;
$this->paused_slide_id = null;
$this->embed_seen_at = null;
}
/**
* @return bool Paused after a slide had been live (not: not started yet)
*/