node_delete() will fail when the user does not have permissions to delete the node. Solution:

- either log in with user who has appropriate permissions (that would be user 1)
- or keep a copy of node_delete() that does not check for permissions.

CommentFileSizeAuthor
#1 619110-1_fix_node_delete.patch3.62 KBalex_b

Comments

alex_b’s picture

Status: Active » Needs review
StatusFileSize
new3.62 KB
alex_b’s picture

Status: Needs review » Fixed

Committed.

Status: Fixed » Closed (fixed)

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