Drop the comment interval setting
CI / Deploy / test (push) Successful in 52s
CI / Deploy / deploy (push) Skipped

Comments on the stage are always timed by their length now, so the
selectable interval and results.commentInterval are gone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
gnilebeinandClaude Opus 5.5 committed 2026-11-09 14:18:01 +01:00
1 parent 05ff5967e3
commit 8d128095ed
7 files changed
+23 -86

No files matched your search

-4
View File
@@ -159,10 +159,6 @@ class SlidesTable extends Table
$settings['private'] = filter_var($input['private'] ?? false, FILTER_VALIDATE_BOOLEAN);
$settings['comments'] = filter_var($input['comments'] ?? false, FILTER_VALIDATE_BOOLEAN);
$settings['comment_ratings'] = filter_var($input['comment_ratings'] ?? false, FILTER_VALIDATE_BOOLEAN);
$interval = (int)($input['comment_interval'] ?? $settings['comment_interval']);
if (in_array($interval, Slide::COMMENT_INTERVALS, true)) {
$settings['comment_interval'] = $interval;
}
break;
case Slide::TYPE_QUIZ:
$limit = (int)($input['time_limit'] ?? $settings['time_limit']);