Kaynağa Gözat

Ticket #5517 - Notifications: Notification about reaction for timeline update shouldn't change its author.

AntonLV 4 ay önce
ebeveyn
işleme
8316df316f

+ 0 - 3
modules/boonex/timeline/classes/BxTimelineModule.php

@@ -2684,7 +2684,6 @@ class BxTimelineModule extends BxBaseModNotificationsModule implements iBxDolCon
             'entry_url' => bx_absolute_url($this->_oConfig->getItemViewUrl($aContent, false), '{bx_url_root}'),
             'entry_caption' => $sEntryCaption,
             'entry_summary' => $sEntrySummary,
-            'entry_author' => $aContent['owner_id'],
             'subentry_sample' => $CNF['T']['txt_sample_comment_single'],
             'subentry_url' => $oComment->getItemUrl($iCommentId, '{bx_url_root}'),
             'subentry_url_api' => $oComment->getItemUrlApi($iCommentId, '{bx_url_root}'),
@@ -2755,7 +2754,6 @@ class BxTimelineModule extends BxBaseModNotificationsModule implements iBxDolCon
             'entry_url' => bx_absolute_url($this->_oConfig->getItemViewUrl($aContent, false), '{bx_url_root}'),
             'entry_caption' => $sEntryCaption,
             'entry_summary' => $sEntrySummary,
-            'entry_author' => $aContent['owner_id'],
             'subentry_sample' => $CNF['T']['txt_sample_vote_single'],
             'lang_key' => '', //may be empty or not specified. In this case the default one from Notification module will be used.
         ];
@@ -2870,7 +2868,6 @@ class BxTimelineModule extends BxBaseModNotificationsModule implements iBxDolCon
             'entry_url' => bx_absolute_url($this->_oConfig->getItemViewUrl($aContent, false), '{bx_url_root}'),
             'entry_caption' => $sEntryCaption,
             'entry_summary' => $sEntrySummary,
-            'entry_author' => $aContent['owner_id'],
             'subentry_sample' => $CNF['T']['txt_sample_score_' . $sType . '_single'],
             'lang_key' => '', //may be empty or not specified. In this case the default one from Notification module will be used.
         ];