[stable10] Fixes #31849 - delete thumbnails on write hooks
[stable10] Fixes #31849 - delete thumbnails on write hooks

owncloud/core,phil-davis/core,owncloud/core,owncloud/core,owncloud/core,owncloud/core