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.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 619110-1_fix_node_delete.patch | 3.62 KB | alex_b |
Comments
Comment #1
alex_b commentedComment #2
alex_b commentedCommitted.