image_hash_ban should now logged when hash is banned

This commit is contained in:
Daku 2012-01-27 06:16:53 +00:00
parent c05cef6ab3
commit 42bac78bf0

View File

@ -161,6 +161,7 @@ class ImageBan extends SimpleExtension {
$database->Execute(
"INSERT INTO image_bans (hash, reason, date) VALUES (?, ?, now())",
array($hash, $reason));
log_info("image_hash_ban", "Banned hash: ($hash) because '$reason'");
}
public function remove_image_hash_ban($hash) {