Hi ,

It was useful to trace the deleted nodes using node_delete module. It will be great if we have the user id who has deleted the node and time when the node was deleted.

Regards,
Nivedha.

CommentFileSizeAuthor
#1 need-to-track-who-deleted.2192485.patch2.92 KBnivedha

Comments

nivedha’s picture

StatusFileSize
new2.92 KB

Hi

For tracking, i created two extra fields in node_delete table and i added extra lines in .module file. Patch is attached.

Regards,
Nivedha.

nivedha’s picture

Priority: Major » Normal
Status: Active » Needs review

Status changed.

mrsinguyen’s picture

Status: Needs review » Reviewed & tested by the community

Committed bc2712a

mrsinguyen’s picture

Status: Reviewed & tested by the community » Closed (fixed)

Status: Closed (fixed) » Needs work

The last submitted patch, 1: need-to-track-who-deleted.2192485.patch, failed testing.

mrsinguyen’s picture

Status: Needs work » Closed (fixed)
tssarun’s picture

Status: Closed (fixed) » Needs review
mrsinguyen’s picture

Have fixed some coding standard so this patch can't apply correct.

Status: Needs review » Needs work

The last submitted patch, 1: need-to-track-who-deleted.2192485.patch, failed testing.

tssarun’s picture

Hi mrsinguyen,
In node delete operation, node status is changed(status = 0). Is it necessary to remove that deleted nid from node_access table.

i think 'node_access_acquire_grants($node)' function should present in node_delete_form_node_delete_confirm_submit.

regards,
tssarun.