summaryrefslogtreecommitdiff
path: root/util/unusedimages.pl
diff options
context:
space:
mode:
Diffstat (limited to 'util/unusedimages.pl')
-rwxr-xr-xutil/unusedimages.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/util/unusedimages.pl b/util/unusedimages.pl
index 55797c97..019d3c9d 100755
--- a/util/unusedimages.pl
+++ b/util/unusedimages.pl
@@ -62,6 +62,8 @@ sub cleandb {
UNION ALL SELECT description FROM traits
UNION ALL SELECT comments FROM changes
UNION ALL SELECT msg FROM threads_posts
+ UNION ALL SELECT msg FROM reviews_posts
+ UNION ALL SELECT text FROM reviews
) x(text), regexp_matches(text, '}.$fnmatch.q{', 'g') as y(img)
)
) x