Arbeit an Auf/Abstieg
This commit is contained in:
parent
8edec26147
commit
ed0c445bfa
5 changed files with 107 additions and 18 deletions
|
|
@ -141,8 +141,9 @@ class Round extends Model
|
|||
return $hourDiffToLock;
|
||||
}
|
||||
|
||||
public static function getNames() {
|
||||
public static function getNames($seasonId=-1) {
|
||||
$season= Season::getCurrent();
|
||||
if ($seasonId!=-1) { $season = Season::where('id','=',$seasonId)->first(); }
|
||||
$rounds = Round::where('season_id','=',$season->id)->get();
|
||||
|
||||
Log::info("START");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue