League creation, Auf & Abstieg - preparation

This commit is contained in:
Torsten 2017-10-12 11:40:25 +02:00
parent 444ce18f63
commit 8edec26147
2 changed files with 21 additions and 4 deletions

View file

@ -121,6 +121,8 @@ class LeaguesController extends Controller
} else {
// ToDo: Achtel-, Viertel-, Halb-, Finale require additional leagues; Same with Pokal, so createMissingLeagues method will be needed in the future
## !! ##
$league_size1= min(22,$active_member_count);
$league1 = League::create([
'is_qualification' => false,