diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-11-21 15:12:11 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-11-22 21:25:05 +0100 |
commit | 5066c3e066ad67788bdf6edac9e80cab614a2d4d (patch) | |
tree | a3e7394f4ff77bc628625dda887286afb9dcf0df /src | |
parent | 4da598c5df08f8a5e20c838df5de8c9e4efcb273 (diff) | |
download | wallabag-5066c3e066ad67788bdf6edac9e80cab614a2d4d.tar.gz wallabag-5066c3e066ad67788bdf6edac9e80cab614a2d4d.tar.zst wallabag-5066c3e066ad67788bdf6edac9e80cab614a2d4d.zip |
Re-use FOSUser master branch
Diffstat (limited to 'src')
-rw-r--r-- | src/Wallabag/UserBundle/Repository/UserRepository.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/UserBundle/Repository/UserRepository.php b/src/Wallabag/UserBundle/Repository/UserRepository.php index 445edb3c..f913f52d 100644 --- a/src/Wallabag/UserBundle/Repository/UserRepository.php +++ b/src/Wallabag/UserBundle/Repository/UserRepository.php | |||
@@ -48,7 +48,7 @@ class UserRepository extends EntityRepository | |||
48 | { | 48 | { |
49 | return $this->createQueryBuilder('u') | 49 | return $this->createQueryBuilder('u') |
50 | ->select('count(u)') | 50 | ->select('count(u)') |
51 | ->andWhere('u.expired = false') | 51 | ->andWhere('u.enabled = true') |
52 | ->getQuery() | 52 | ->getQuery() |
53 | ->getSingleScalarResult(); | 53 | ->getSingleScalarResult(); |
54 | } | 54 | } |