Prevent versions of images from being recorded in the uploads table.
What does this MR do?
Previously, versions of images would be recorded to the uploads
table in addition to the main (unresized) image also being recorded.
This change prevents the versions from being recorded in the uploads
table.
This is an incremental piece of work for #22693 (see #22693 (comment 269469039)).
Does this MR meet the acceptance criteria?
Conformity
-
Changelog entry - [-] Documentation (if required)
-
Code review guidelines -
Merge request performance guidelines -
Style guides - [-] Database guides
- [-] Separation of EE specific content
Availability and Testing
-
Review and add/update tests for this feature/bug. Consider all test levels. See the Test Planning Process. - [-] Tested in all supported browsers
Part of #13815 (closed)
Edited by Luke Duncalfe