From b9212a05e571a1bd833f10e0d27716e4f8916c36 Mon Sep 17 00:00:00 2001 From: Thomas de Roo <2+thomas@noreply.localhost> Date: Mon, 15 Jun 2026 12:12:11 +0200 Subject: [PATCH] Update includes/functions.php --- includes/functions.php | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/includes/functions.php b/includes/functions.php index 3ed1a4a..2d18377 100644 --- a/includes/functions.php +++ b/includes/functions.php @@ -69,16 +69,3 @@ function listPath( . '.json'; } -function calculateNextInterval(array $word, bool $correct): int -{ - $correctCount = $word['correct'] ?? 0; - - if (!$correct) { - return 1; - } - - // gecontroleerde groei (SM-lite) - $interval = 1 + ($correctCount * 2); - - return min(30, $interval); -} \ No newline at end of file