wip double

This commit is contained in:
salam committed 2026-07-15 10:18:27 +02:00
1 parent 987d096928
commit c4569196ea
6 files changed
+112 -37

No files matched your search

@@ -42,9 +42,15 @@ class Grapper
* empty grapping folder
* empty mailing text
*/
if ($debug)
Notice::note('File clean directory', 'b');
File::cleanDirectory(Sofascore::$storage);
SofaScoreEventGrapped::query()->update(['in_current_grapper' => false]);
if ($debug)
Notice::note('Truncate SofaScoreEventGrapped', 'b');
SofaScoreEventGrapped::query()->truncate();
foreach ($active_tournaments as $tournament) {