openphoto/frontend — Issue #383: Delete file from the file system if/when the entry fails to get stored in the database
Author: jmathai
Created: 2011-12-13 21:29:41+00:00
State: open

When a photo is uploaded we first store the file to the FS and then create an entry in the DB. If the entry in the DB fails then we should delete the file from the FS.