Skip to content

Commit

Permalink
Turn off menu caching for now as it caches also modules/widgets/parti…
Browse files Browse the repository at this point in the history
…cles
  • Loading branch information
mahagr committed Jan 15, 2017
1 parent 9c3bc8b commit dc5b488
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# 5.4.5
## XX/01/2017

1. [Common](#common)
1. [](#bugfix)
- Turn off menu caching for now as it caches also modules/widgets/particles
4. [Grav](#grav)
3. [](#bugfix)
- Fixed positions rendering escaped HTML code (#1797)
Expand Down
3 changes: 2 additions & 1 deletion src/classes/Gantry/Component/Theme/ThemeTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -662,7 +662,8 @@ public function getContent($item, $options = [])
$menu = $gantry['menu'];
$cacheKey = $menu->getCacheId();

if ($cacheKey !== null) {
// FIXME: menu caching needs to handle dynamic modules inside menu: turning it off for now.
if (false && $cacheKey !== null) {
$cached = true;
$extra['_menu_cache_key'] = $cacheKey;
}
Expand Down

0 comments on commit dc5b488

Please sign in to comment.