"We deleted all the documents, is that what you wanted?" [Yes / No].
User selects:
Yes - then delete the docs
No - pop up dialog.. "Luckily for you, we can save your bacon. Don't worry pop around to [enter developer name] with an undo fee of [enter suitable amount] and we will make sure you don't get fired (this time)."
I prefer the lesson learnt approach... :)
"We deleted all the documents, is that what you wanted?" [Yes / No].
User selects:
Yes - then delete the docs
No - pop up dialog.. "Luckily for you, we can save your bacon. Don't worry pop around to [enter developer name] with an undo fee of [enter suitable amount] and we will make sure you don't get fired (this time)."