These hooks didn't make it from d5 to d6

CommentFileSizeAuthor
#3 spam_node.inc_unpublish.patch538 bytesAnonymous (not verified)
spam-node-operations.txt820 byteskjl

Comments

TBarregren’s picture

I've reviewed and tested the patch. It looks correct and works as expected.

gnassar’s picture

Status: Needs review » Fixed

I ended up using node_publish_action() and node_unpublish_action() instead.

Anonymous’s picture

StatusFileSize
new538 bytes

the node doesn't get unpublished in the new 6.x-1.x-dev version.
the actions need a node as an argument, not the id of a node. and the node has to be saved afterwards.

gnassar’s picture

You're absolutely right. Thank you. Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.