mirror of
https://github.com/discourse/discourse.git
synced 2025-03-29 09:36:39 +08: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.