@@ -6,7 +6,6 @@ |
||
| 6 | 6 | use App\User; |
| 7 | 7 | use Illuminate\Database\Eloquent\Model; |
| 8 | 8 | use Illuminate\Support\Collection; |
| 9 | -use Xoco70\KendoTournaments\TreeGen\TreeGen; |
|
| 10 | 9 | |
| 11 | 10 | class Tree extends Model |
| 12 | 11 | { |
@@ -127,7 +127,7 @@ |
||
| 127 | 127 | |
| 128 | 128 | // Delete previous fight for this championship |
| 129 | 129 | |
| 130 | - $arrayTreeId = $tree->map(function ($value, $key) { |
|
| 130 | + $arrayTreeId = $tree->map(function($value, $key) { |
|
| 131 | 131 | return $value->id; |
| 132 | 132 | })->toArray(); |
| 133 | 133 | Fight::destroy($arrayTreeId); |