more
This commit is contained in:
parent
f592167c6a
commit
575ce067bc
@ -401,7 +401,7 @@ class CommentList implements Extension {
|
|||||||
"VALUES(?, ?, ?, now(), ?)",
|
"VALUES(?, ?, ?, now(), ?)",
|
||||||
array($image_id, $user->id, $_SERVER['REMOTE_ADDR'], $comment));
|
array($image_id, $user->id, $_SERVER['REMOTE_ADDR'], $comment));
|
||||||
$cid = $database->db->Insert_ID();
|
$cid = $database->db->Insert_ID();
|
||||||
log_info("comment", "Comment #$cid");
|
log_info("comment", "Comment #$cid added");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -193,7 +193,7 @@ class ImageIO implements Extension {
|
|||||||
$image->hash, $image->ext, $image->width, $image->height, $image->source));
|
$image->hash, $image->ext, $image->width, $image->height, $image->source));
|
||||||
$image->id = $database->db->Insert_ID();
|
$image->id = $database->db->Insert_ID();
|
||||||
|
|
||||||
log_info("image", "Uploaded image {$image->id} ({$image->hash})");
|
log_info("image", "Uploaded Image #{$image->id} ({$image->hash})");
|
||||||
|
|
||||||
send_event(new TagSetEvent($image, $image->get_tag_array()));
|
send_event(new TagSetEvent($image, $image->get_tag_array()));
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user