mirror of
https://github.com/wallabag/wallabag.git
synced 2024-12-16 10:22:14 +01:00
CS
This commit is contained in:
parent
59ddb9ae99
commit
234ad94453
@ -36,7 +36,7 @@ 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
|
||||||
*
|
*
|
||||||
@ -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…
Reference in New Issue
Block a user