between years fix
This commit is contained in:
parent
90c6d60ecd
commit
157b9d8b5e
53 changed files with 46 additions and 3772 deletions
|
|
@ -143,7 +143,13 @@ class User extends Authenticatable
|
|||
// OPTIMIZED VERSION FOR hasMissingTipp
|
||||
public static function getMissingTippsAndJokers($users) {
|
||||
$round = Round::getFirstTippableRound();
|
||||
if (!$round) return false;
|
||||
|
||||
if (!$round) {
|
||||
$result=array();
|
||||
$result["MISSING_TIPP"]=array();
|
||||
$result["MISSING_JOKER"]=array();
|
||||
return $result;
|
||||
}
|
||||
|
||||
$tippClock=new TimeLogger("User::getMissingTippsAndJokers()");
|
||||
Log::info($tippClock->getStartMessage());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue