log image votes
This commit is contained in:
parent
128f43ca14
commit
f8d88c2c67
@ -54,6 +54,7 @@ class NumericScore implements Extension {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if($event instanceof NumericScoreSetEvent) {
|
if($event instanceof NumericScoreSetEvent) {
|
||||||
|
log_info("numeric_score", "Rated Image #{$event->image_id} as {$event->score}");
|
||||||
$this->add_vote($event->image_id, $user->id, $event->score);
|
$this->add_vote($event->image_id, $user->id, $event->score);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user