Skip to content

Commit

Permalink
hardcode lang for verbs
Browse files Browse the repository at this point in the history
  • Loading branch information
milt committed Nov 13, 2024
1 parent 9d40db5 commit be85657
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/transformer/events/mod_wiki/comment_created.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ function comment_created(array $config, \stdClass $event) {
'verb' => [
'id' => 'http://adlnet.gov/expapi/verbs/commented',
'display' => [
$lang => 'Commented'
'en' => 'Commented'
],
],
'object' => utils\get_activity\wiki_discussion(
Expand Down
2 changes: 1 addition & 1 deletion src/transformer/events/mod_wiki/comment_deleted.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ function comment_deleted(array $config, \stdClass $event) {
'verb' => [
'id' => 'http://activitystrea.ms/delete',
'display' => [
$lang => 'Deleted'
'en' => 'Deleted'
],
],
'object' => [
Expand Down

0 comments on commit be85657

Please sign in to comment.