live feed tweaks

This commit is contained in:
Shish 2012-06-22 19:32:41 +01:00
parent 8dcd56e0ec
commit 2e897e097d

View file

@ -16,12 +16,12 @@ class LiveFeed extends Extension {
} }
public function onUserCreation($event) { public function onUserCreation($event) {
$this->msg("New user created: {$event->user}"); $this->msg("New user created: {$event->username}");
} }
public function onImageAddition($event) { public function onImageAddition($event) {
$this->msg("Image posted: ".make_http(make_link("post/view/".$event->image->id))); $this->msg("Image posted: ".make_http(make_link("post/view/".$event->image->id)));
$this->msg("- tagged ".$event->image->get_tag_list()); #$this->msg("- tagged ".$event->image->get_tag_list());
} }
public function onCommentPosting($event) { public function onCommentPosting($event) {