Remove "node_operations_(un)publish" from D6 version
kjl - December 29, 2008 - 21:46
| Project: | Spam |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed |
Description
These hooks didn't make it from d5 to d6
| Attachment | Size |
|---|---|
| spam-node-operations.txt | 820 bytes |

#1
I've reviewed and tested the patch. It looks correct and works as expected.
#2
I ended up using node_publish_action() and node_unpublish_action() instead.
#3
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.
#4
You're absolutely right. Thank you. Committed.
#5
Automatically closed -- issue fixed for 2 weeks with no activity.