Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Came across this issue for another module: https://drupal.org/node/1899000
It linked to this: https://twitter.com/davereid/status/294554866649542657
Which basically said we should use hook_page_build() and not hook_init().
Just a small optimisation.