Changeset 80179 in spip-zone
- Timestamp:
- Jan 21, 2014, 2:44:37 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/notifications_groupees/trunk/notifications/forumposte.php
r80175 r80179 81 81 // les notifications des messages de statut 'publie' 82 82 // sont envoyees sans delai aux moderateurs 83 $n otif_groupees = isset($GLOBALS['meta']['notifications_groupees_qui']) AND $GLOBALS['meta']['notifications_groupees_qui'];83 $ng_forum = in_array('forum',lire_config('notifications_groupees_evenements')); 84 84 $table = table_objet_sql($t['objet']); 85 85 $id = id_table_objet($table); 86 if (!$n otif_groupees OR ($notif_groupeesAND (sql_getfetsel("accepter_forum",$table,$id."=".intval($t['id_objet'])) == 'pos') AND $t['statut'] == 'publie')) {86 if (!$ng_forum OR ($ng_forum AND (sql_getfetsel("accepter_forum",$table,$id."=".intval($t['id_objet'])) == 'pos') AND $t['statut'] == 'publie')) { 87 87 $email_notification_forum = charger_fonction('email_notification_forum','inc'); 88 88 foreach ($destinataires as $email) {
Note: See TracChangeset
for help on using the changeset viewer.