From eb9b29b7b453e89044660837b1f34f36ff4341b3 Mon Sep 17 00:00:00 2001 From: Shish Date: Thu, 8 Mar 2012 01:37:42 +0000 Subject: [PATCH] 'blocked image' really means 'attempted to upload a blocked image', make the words reflect that --- contrib/image_hash_ban/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/image_hash_ban/main.php b/contrib/image_hash_ban/main.php index 79150d98..f68c7205 100644 --- a/contrib/image_hash_ban/main.php +++ b/contrib/image_hash_ban/main.php @@ -47,7 +47,7 @@ class ImageBan extends Extension { global $database; $row = $database->get_row("SELECT * FROM image_bans WHERE hash = :hash", array("hash"=>$event->hash)); if($row) { - log_info("image_hash_ban", "Blocked image ({$event->hash})"); + log_info("image_hash_ban", "Attempted to upload a blocked image ({$event->hash} - {$row['reason']})"); throw new UploadException("Image ".html_escape($row["hash"])." has been banned, reason: ".format_text($row["reason"])); } }