Calling a plugin function after an entry is deleted?
You can create a simple plugin that listens to the onDeleteEntry event.

There is an entry parameter passed into that event that is the EntryModel object that represents the entry that was just deleted.