[SPIP] v3.2.1-->v3.2.3
[lhc/web/www.git] / www / plugins-dist / sites / prive / objets / liste / syndic_articles_fonctions.php
index 8dfbef1..8b64c8c 100644 (file)
@@ -3,26 +3,29 @@
 /***************************************************************************\
  *  SPIP, Systeme de publication pour l'internet                           *
  *                                                                         *
- *  Copyright (c) 2001-2013                                                *
+ *  Copyright (c) 2001-2019                                                *
  *  Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James  *
  *                                                                         *
  *  Ce programme est un logiciel libre distribue sous licence GNU/GPL.     *
  *  Pour plus de details voir le fichier COPYING.txt ou l'aide en ligne.   *
 \***************************************************************************/
 
-if (!defined('_ECRIRE_INC_VERSION')) return;
+if (!defined('_ECRIRE_INC_VERSION')) {
+       return;
+}
 
 /**
  * Un test sur les articles syndiques
  * pour "depublier les items qui ne figurent plsu dans le flux"
+ *
  * @global <type> $my_sites
  * @param <type> $id
  * @return <type>
  */
-function filtre_test_syndic_article_miroir_dist($id){
-       if (isset($GLOBALS['my_sites'][$id]['miroir']) AND $GLOBALS['my_sites'][$id]['miroir'] == 'oui')
+function filtre_test_syndic_article_miroir_dist($id) {
+       if (isset($GLOBALS['my_sites'][$id]['miroir']) and $GLOBALS['my_sites'][$id]['miroir'] == 'oui') {
                return ' ';
+       }
+
        return '';
 }
-
-?>
\ No newline at end of file