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.
From my reading of hook_install and hook_disable, installing this module, then disabling it, then re-enabling it, will leave it broken, as recommender_app_register() won't be called.
Comments
Comment #1
dwkitchen CreditAttribution: dwkitchen commentedThanks,
Your right - unless you uninstalled it wouldn't get registered. The is also the case in the History Recommender module (where I based this off) so will pass it on the there as well.
I will move the app_register in to a hook_enable
Comment #2
dwkitchen CreditAttribution: dwkitchen commented