mirror of
https://github.com/discourse/discourse.git
synced 2025-02-13 14:55:06 +00:00
This IMAGES_EXTENSIONS_REGEX const just creates redundancy when we already have the `isImage` function -- the two can easily get out of sync. Replace all usages of the former with the latter.