wip
This commit is contained in:
1 parent
d2733e16bc
commit
5ac22d5e18
1 file changed
+4
@@ -250,11 +250,15 @@ trait GrappingSofascore
|
|||||||
switch ($restart) {
|
switch ($restart) {
|
||||||
case 'restart':
|
case 'restart':
|
||||||
$this->restart = 1;
|
$this->restart = 1;
|
||||||
|
|
||||||
|
SofaScoreTaskDay::where('grapper_id', (int) $this->task_id)->delete();
|
||||||
break;
|
break;
|
||||||
case 'clear':
|
case 'clear':
|
||||||
if ($this->confirm_delete() == 'Yes') {
|
if ($this->confirm_delete() == 'Yes') {
|
||||||
$this->restart = 1;
|
$this->restart = 1;
|
||||||
$this->clear_folder($folder, 'all');
|
$this->clear_folder($folder, 'all');
|
||||||
|
|
||||||
|
SofaScoreTaskDay::where('grapper_id', (int) $this->task_id)->delete();
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user