This commit is contained in:
salam committed 2026-06-07 07:42:20 +02:00
1 parent 292acb879e
commit 2b85bf890c
4 files changed
+24 -14

No files matched your search

+2 -2
View File
@@ -20,12 +20,12 @@ class Sofascore
public static function switch()
{
$debug = Nuh::$options['d'] ?? 0;
$truncat = Nuh::$options['t'] ?? 0;
if ($truncat) {
if (Nuh::$options['truncate']) {
SofaScoreDayTournament::truncate();
SofaScoreTournament::truncate();
SofaScoreCategorie::truncate();
Notice::note('Table SofaScoreDayTournament, SofaScoreTournament, SofaScoreCategorie truncated', 'b', 1);
}
if ($debug) {