josegonzalez/upload — pull request #110 by benjaminallison (2013-03-14 21:18:45+00:00)
Title: Added folder removal option

As I commented a few weeks ago, an option to kill the folder (if the user desires it) is useful. Helps keep the server clean.

I'm not sure if I've done this in the cleanest way. For example, the original deletion process runs as normal, I simply trash the folder (and any remaining contents) in afterDelete, once everything is done.

Of course we could completely refactor the whole deletion procedure, but I wanted to make as few changes as possible.