SO MUCH RATING
This commit is contained in:
parent
58c06893e1
commit
0834dad48f
@ -182,7 +182,7 @@ class NumericScore extends Extension {
|
|||||||
|
|
||||||
public function onNumericScoreSet(NumericScoreSetEvent $event) {
|
public function onNumericScoreSet(NumericScoreSetEvent $event) {
|
||||||
global $user;
|
global $user;
|
||||||
log_info("numeric_score", "Rated Image #{$event->image_id} as {$event->score}");
|
log_debug("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