two score extensions

git-svn-id: file:///home/shish/svn/shimmie2/trunk@538 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish
2007-10-21 22:06:34 +00:00
parent c52f24e988
commit 7b621d6a8e
6 changed files with 164 additions and 5 deletions

View File

@ -86,7 +86,8 @@ class EventLog extends Extension {
$this->add_to_log($user, 'Source Set', "Source for image #{$event->image_id} set to '{$event->source}'");
}
if(is_a($event, 'TagSetEvent')) {
$this->add_to_log($user, 'Tags Set', "Tags for image #{$event->image_id} set to '{$event->tags}'");
$tags = implode($event->tags, ", ");
$this->add_to_log($user, 'Tags Set', "Tags for image #{$event->image_id} set to '$tags'");
}
}