src/Service/TradingCard.php 1 location
|
@@ 209-216 (lines=8) @@
|
206 |
|
->orderBy('m.id', 'ASC') |
207 |
|
->groupBy('c.model'); |
208 |
|
$query = $qb->getQuery(); |
209 |
|
} else { |
210 |
|
// If the game is supposed to be a regular user game or an anonymous identified game, |
211 |
|
// it means that the registration/login is at the end of the game |
212 |
|
if ((!$user && !$game->getAnonymousAllowed()) || ($game->getAnonymousAllowed() && $game->getAnonymousIdentifier())) { |
213 |
|
return 0; |
214 |
|
} |
215 |
|
return $this->getEntryMapper()->findLastEntriesByIp($game, $this->getIp(), $limitDate); |
216 |
|
} |
217 |
|
|
218 |
|
|
219 |
|
// all the cards of the user |
src/Service/Game.php 1 location
|
@@ 1247-1254 (lines=8) @@
|
1244 |
|
); |
1245 |
|
|
1246 |
|
return $entries; |
1247 |
|
} else { |
1248 |
|
// If the game is supposed to be a reguler user game or an anonymous identified game, |
1249 |
|
// it means that the registration/login is at the end of the game |
1250 |
|
if ((!$user && !$game->getAnonymousAllowed()) || ($game->getAnonymousAllowed() && $game->getAnonymousIdentifier())) { |
1251 |
|
return 0; |
1252 |
|
} |
1253 |
|
return $this->getEntryMapper()->countLastEntriesByIp($game, $this->getIp(), $limitDate); |
1254 |
|
} |
1255 |
|
} |
1256 |
|
|
1257 |
|
/** |