Drop the comment interval setting
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:
1 parent
05ff5967e3
commit
8d128095ed
7 files changed
+23
-86
No files matched your search
@@ -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']);
|
||||
|
||||
Reference in new issue
Block a user