Stop flooding the log, when previews are disabled
Merge pull request #12572 from owncloud/issue/12571-disabled-preview-logflood

Stop flooding the log, when previews are disabled