image_hash_ban should now logged when hash is banned
This commit is contained in:
parent
c05cef6ab3
commit
42bac78bf0
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user