The module uses db_update to publish and unpublish nodes and comments, which would bypass the hook system

e.g. hook_node_presave

I'd suggest switching to the node and comment functions to make the changes.

Comments

T-lo’s picture

Title: Use drupal node / comment save functions rather than db_update trigger hooks » Use drupal node / comment save functions rather than db_update to trigger hooks
T-lo’s picture

Title: Use drupal node / comment save functions rather than db_update to trigger hooks » Use node / comment save functions rather than db_update to trigger hooks
T-lo’s picture

this would also remove the requirement to run cache_clear_all() in several places in the module, as the user and entity caches would be triggered as usual.