Updated: Comment #0
When editing image styles, the watchdog gets crowded with messages like
The file private://styles/bingo_bongo was not deleted because it does not exist.
This is due to the fact that upon image style flushing,
file_unmanaged_delete_recursive() logs a message if the file to be deleted is non-existent, which is quite the case (for the non-default wrappers) when you are making changes to the style, editing its effects. While this is an expected behavior during a recursive delete, it seems to me unnecessary when it is the root file to be deleted.
Introduce a file existence check before invoking
User interface changes
PASSED: [[SimpleTest]]: [MySQL] 40,447 pass(es).
PASSED: [[SimpleTest]]: [MySQL] 58,819 pass(es).
PASSED: [[SimpleTest]]: [MySQL] 58,333 pass(es).