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

AttachmentSize
spam-node-operations.txt820 bytes

#1

TBarregren - January 1, 2009 - 14:47

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

#2

gnassar - June 17, 2009 - 20:40
Status:needs review» fixed

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

#3

MCP - June 23, 2009 - 10:20

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.

AttachmentSize
spam_node.inc_unpublish.patch 538 bytes

#4

gnassar - June 24, 2009 - 15:05

You're absolutely right. Thank you. Committed.

#5

System Message - July 8, 2009 - 15:10
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.