mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-22 17:18:37 +00:00
CS
This commit is contained in:
parent
59ddb9ae99
commit
234ad94453
1 changed files with 3 additions and 3 deletions
|
@ -36,9 +36,9 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Return number of entries depending of the type (unread, archive, starred or all)
|
* Return number of entries depending of the type (unread, archive, starred or all).
|
||||||
*
|
*
|
||||||
* @param string $type Type of entries to count
|
* @param string $type Type of entries to count
|
||||||
*
|
*
|
||||||
* @return int
|
* @return int
|
||||||
*/
|
*/
|
||||||
|
@ -78,7 +78,7 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa
|
||||||
->groupBy('e.id')
|
->groupBy('e.id')
|
||||||
->getQuery();
|
->getQuery();
|
||||||
|
|
||||||
$data =$this->repository
|
$data = $this->repository
|
||||||
->enableCache($query)
|
->enableCache($query)
|
||||||
->getArrayResult();
|
->getArrayResult();
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue