Skip to content

Commit ac66732

Browse files
committed
Improvement: Lighten the hook manipulation on 5.0, resolves #1098. (#1099)
1 parent 12a2eea commit ac66732

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ Changes
66

77
### Unreleased
88

9+
* 2025-11-12 - Improvement: Lighten the hook manipulation on 5.0, resolves #1098.
910
* 2025-11-11 - Upstream change: Adopt changes from MDL-85418 to submenu.js, resolves #1095.
1011

1112
### v5.0-r12

locallib.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2572,9 +2572,6 @@ function theme_boost_union_manipulate_hooks() {
25722572
// and Boost Union would have to compose the manipulated hooks again on the next "real" page load.
25732573
// This would result in longer page load times for real end users.
25742574

2575-
// Get Moodle core's hookcallbacks cache.
2576-
$corecache = \cache::make('core', 'hookcallbacks');
2577-
25782575
// Get Boost Union's hookoverrides cache.
25792576
$bucache = \cache::make('theme_boost_union', 'hookoverrides');
25802577

0 commit comments

Comments
 (0)