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
|
@@ 1260-1267 (lines=8) @@
|
1257 |
|
); |
1258 |
|
|
1259 |
|
return $entries; |
1260 |
|
} else { |
1261 |
|
// If the game is supposed to be a reguler user game or an anonymous identified game, |
1262 |
|
// it means that the registration/login is at the end of the game |
1263 |
|
if ((!$user && !$game->getAnonymousAllowed()) || ($game->getAnonymousAllowed() && $game->getAnonymousIdentifier())) { |
1264 |
|
return 0; |
1265 |
|
} |
1266 |
|
return $this->getEntryMapper()->countLastEntriesByIp($game, $this->getIp(), $limitDate); |
1267 |
|
} |
1268 |
|
} |
1269 |
|
|
1270 |
|
/** |