wip ss
This commit is contained in:
1 parent
292acb879e
commit
2b85bf890c
4 files changed
+24
-14
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user