Skip to content

Commit

Permalink
Regression: Migrating the before_standard_html_head() function to the…
Browse files Browse the repository at this point in the history
… new hook callback broke the login page on Moodle 4.3, resolves #613 (#614)
  • Loading branch information
abias committed Apr 6, 2024
1 parent b1249bd commit 36aa0b3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -526,6 +526,10 @@ function theme_boost_union_pluginfile($course, $cm, $context, $filearea, $args,
* @return string
*/
function theme_boost_union_before_standard_html_head() {
global $CFG;

// Require local library.
require_once($CFG->dirroot.'/theme/boost_union/locallib.php');

// Call and return callback implementation.
return theme_boost_union_callbackimpl_before_standard_html();
Expand Down

0 comments on commit 36aa0b3

Please sign in to comment.