Re-use FOSUser master branch

This commit is contained in:
Jeremy Benoist
2016-11-21 15:12:11 +01:00
parent 4da598c5df
commit 5066c3e066
4 changed files with 9 additions and 8 deletions

View File

@ -48,7 +48,7 @@ class UserRepository extends EntityRepository
{
return $this->createQueryBuilder('u')
->select('count(u)')
->andWhere('u.expired = false')
->andWhere('u.enabled = true')
->getQuery()
->getSingleScalarResult();
}