several cosmetic updates
This commit is contained in:
parent
5a90bb2c8a
commit
8c368524fe
8 changed files with 56 additions and 24 deletions
|
|
@ -26,14 +26,8 @@ class Game extends Model
|
|||
public function hasResult() {
|
||||
|
||||
$game = $this;
|
||||
$hasIt = $game->score1 > -1;
|
||||
return $game->score1 > -1;
|
||||
|
||||
if ($hasIt==false) {
|
||||
|
||||
return false;
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
public static function has_result($game_id) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue