Skip to content

Commit

Permalink
Merge pull request #34 from peterspicer-catalyst/header-injection
Browse files Browse the repository at this point in the history
Also inject analytics with headers, not just in footer
  • Loading branch information
bmbrands authored Mar 19, 2020
2 parents 21c13d8 + b01b7c0 commit a339c08
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,3 +37,11 @@
function local_analytics_before_footer() {
injector::inject();
}

/**
* Output callback, available since Moodle 3.3
*
*/
function local_analytics_before_http_headers() {
injector::inject();
}

0 comments on commit a339c08

Please sign in to comment.