aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-09-03 19:26:23 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-09-03 19:26:23 +0200
commit234ad944534cf51118f63f0b48c206b5d9a70fe5 (patch)
tree691f7415a480757dce600fcae15f2ab1f47e3e96 /src/Wallabag/CoreBundle
parent59ddb9ae99b97a1a8fa3aa3770a4a2afef333699 (diff)
downloadwallabag-234ad944534cf51118f63f0b48c206b5d9a70fe5.tar.gz
wallabag-234ad944534cf51118f63f0b48c206b5d9a70fe5.tar.zst
wallabag-234ad944534cf51118f63f0b48c206b5d9a70fe5.zip
CS
Diffstat (limited to 'src/Wallabag/CoreBundle')
-rw-r--r--src/Wallabag/CoreBundle/Twig/WallabagExtension.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php
index d6ac6117..974b86a9 100644
--- a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php
+++ b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php
@@ -36,9 +36,9 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa
36 } 36 }
37 37
38 /** 38 /**
39 * Return number of entries depending of the type (unread, archive, starred or all) 39 * Return number of entries depending of the type (unread, archive, starred or all).
40 * 40 *
41 * @param string $type Type of entries to count 41 * @param string $type Type of entries to count
42 * 42 *
43 * @return int 43 * @return int
44 */ 44 */
@@ -78,7 +78,7 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa
78 ->groupBy('e.id') 78 ->groupBy('e.id')
79 ->getQuery(); 79 ->getQuery();
80 80
81 $data =$this->repository 81 $data = $this->repository
82 ->enableCache($query) 82 ->enableCache($query)
83 ->getArrayResult(); 83 ->getArrayResult();
84 84