Changeset 91276 in spip-zone


Ignore:
Timestamp:
Aug 5, 2015, 11:52:29 AM (4 years ago)
Author:
cedric@…
Message:

Report de r91274 : ne pas syndiquer un site en refuse

Location:
_core_/plugins/sites
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _core_/plugins/sites

  • _core_/plugins/sites/genie/syndic.php

    r90780 r91276  
    6161        // s'il echoue
    6262        $where = sql_in("syndication", array('sus','off')) . "
     63        AND statut<>'refuse'
    6364        AND NOT(" . sql_date_proche('date_syndic', (0 - _PERIODE_SYNDICATION_SUSPENDUE) , "MINUTE") . ')';
    6465        $id_syndic = sql_getfetsel("id_syndic", "spip_syndic", "statut<>".sql_quote("refuse")." AND ".$where, '', "date_syndic", "1");
     
    7071        // Et un site 'oui' de plus de 2 heures, qui passe en 'sus' s'il echoue
    7172        $where = "syndication='oui'
     73        AND statut<>'refuse'
    7274        AND NOT(" . sql_date_proche('date_syndic', (0 - _PERIODE_SYNDICATION) , "MINUTE") . ')';
    7375        $id_syndic = sql_getfetsel("id_syndic", "spip_syndic", "statut<>".sql_quote("refuse")." AND ".$where, '', "date_syndic", "1");
  • _core_/plugins/sites/paquet.xml

    r90968 r91276  
    22        prefix="sites"
    33        categorie="edition"
    4         version="1.9.11"
     4        version="1.9.12"
    55        etat="stable"
    66        compatibilite="[3.0.0;3.1.*]"
Note: See TracChangeset for help on using the changeset viewer.