I wanted a post hook to make sure postatt_id was valid. GForum did the error checking so I didn't have to
The hook was used for a post attachment download counter so I was just updating a column with the count.
The hook was used for a post attachment download counter so I was just updating a column with the count.