Image to Post - eokm
This commit is contained in:
parent
08d28a2513
commit
13582d842f
@ -29,7 +29,7 @@ class Eokm extends Extension
|
|||||||
// all ok
|
// all ok
|
||||||
} elseif ($return == "true") {
|
} elseif ($return == "true") {
|
||||||
log_warning("eokm", "User tried to upload banned image {$event->image->hash}");
|
log_warning("eokm", "User tried to upload banned image {$event->image->hash}");
|
||||||
throw new UploadException("Image banned");
|
throw new UploadException("Post banned");
|
||||||
} else {
|
} else {
|
||||||
log_warning("eokm", "Unexpected return from EOKM: $return");
|
log_warning("eokm", "Unexpected return from EOKM: $return");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user