remove message returning limit
This commit is contained in:
parent
57e002916c
commit
722954d0d0
@ -24,7 +24,6 @@ class MessagesRepository extends ServiceEntityRepository
|
|||||||
->andWhere('m.received IS NULL')
|
->andWhere('m.received IS NULL')
|
||||||
->setParameter('recipient', $user->getId()->toBinary())
|
->setParameter('recipient', $user->getId()->toBinary())
|
||||||
->orderBy('m.sent', 'ASC')
|
->orderBy('m.sent', 'ASC')
|
||||||
->setMaxResults(5)
|
|
||||||
->getQuery()
|
->getQuery()
|
||||||
->getResult()
|
->getResult()
|
||||||
;
|
;
|
||||||
|
Loading…
Reference in New Issue
Block a user