sonata-project/SonataMediaBundle — pull request #186 by cmcm (2012-08-22 15:12:18+00:00)
Title: Update Provider/FileProvider.php

For the generation of thumbnails, first create a file origin (for example: 827b4fdbd61381f14b104a352e4a9c3588a9d430.jpg), and after create all thumbnails, but this image origin don't delete it.
With these lines delete it.