aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/UserBundle/Repository
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-11-21 15:12:11 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-11-22 21:25:05 +0100
commit5066c3e066ad67788bdf6edac9e80cab614a2d4d (patch)
treea3e7394f4ff77bc628625dda887286afb9dcf0df /src/Wallabag/UserBundle/Repository
parent4da598c5df08f8a5e20c838df5de8c9e4efcb273 (diff)
downloadwallabag-5066c3e066ad67788bdf6edac9e80cab614a2d4d.tar.gz
wallabag-5066c3e066ad67788bdf6edac9e80cab614a2d4d.tar.zst
wallabag-5066c3e066ad67788bdf6edac9e80cab614a2d4d.zip
Re-use FOSUser master branch
Diffstat (limited to 'src/Wallabag/UserBundle/Repository')
-rw-r--r--src/Wallabag/UserBundle/Repository/UserRepository.php2
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 }