Просмотр исходного кода

#3968 - Add alert in timeline "reposted by"

roman.lesnikov@gmail.com 4 лет назад
Родитель
Сommit
437d4ef28c
1 измененных файлов с 6 добавлено и 0 удалено
  1. 6 0
      modules/boonex/timeline/classes/BxTimelineTemplate.php

+ 6 - 0
modules/boonex/timeline/classes/BxTimelineTemplate.php

@@ -1172,6 +1172,12 @@ class BxTimelineTemplate extends BxBaseModNotificationsTemplate
                 'user_unit' => $oModule->getObjectUser($iUserId)->getUnit()
             );
 
+        bx_alert($this->_oConfig->getName(), 'get_reposted_by', 0, 0, array(
+            'content_id' => $iId,
+            'user_ids' => $aUserIds,
+            'users' => &$aTmplUsers
+        ));
+        
         if(empty($aTmplUsers))
             $aTmplUsers = MsgBox(_t('_Empty'));