diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-09-04 21:06:52 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-09-04 21:06:52 +0200 |
commit | 13d9f7c96c131b93c1172d8bdc69098da9b68f68 (patch) | |
tree | 7fef2a816d4ce3df410ce56b04c19cca474486c4 /src | |
parent | 429d86f388da856c9d8d9a649147c5212bee4258 (diff) | |
download | wallabag-13d9f7c96c131b93c1172d8bdc69098da9b68f68.tar.gz wallabag-13d9f7c96c131b93c1172d8bdc69098da9b68f68.tar.zst wallabag-13d9f7c96c131b93c1172d8bdc69098da9b68f68.zip |
Switched enableCache visibility to private
Diffstat (limited to 'src')
-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); |