diff options
-rw-r--r-- | src/Wallabag/CoreBundle/Twig/WallabagExtension.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php index ed6dadc5..59eb57ec 100644 --- a/src/Wallabag/CoreBundle/Twig/WallabagExtension.php +++ b/src/Wallabag/CoreBundle/Twig/WallabagExtension.php | |||
@@ -119,7 +119,7 @@ class WallabagExtension extends \Twig_Extension implements \Twig_Extension_Globa | |||
119 | * | 119 | * |
120 | * @return Query | 120 | * @return Query |
121 | */ | 121 | */ |
122 | public function enableCache(Query $query) | 122 | private function enableCache(Query $query) |
123 | { | 123 | { |
124 | $query->useQueryCache(true); | 124 | $query->useQueryCache(true); |
125 | $query->useResultCache(true); | 125 | $query->useResultCache(true); |