Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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
Comment #1
T-loComment #2
T-loComment #3
T-lothis 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.