Skip to content
Extraits de code Groupes Projets
Valider d2e3ab5a rédigé par nicod's avatar nicod
Parcourir les fichiers

Formatage

parent f1055091
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -87,7 +87,6 @@ function blocks_objet_compte_enfants($flux) { ...@@ -87,7 +87,6 @@ function blocks_objet_compte_enfants($flux) {
$flux['data']['blocs'] = sql_countsel('spip_blocs', 'id_blocs_type= ' . intval($id_blocs_type) . " AND (statut <> 'poubelle')"); $flux['data']['blocs'] = sql_countsel('spip_blocs', 'id_blocs_type= ' . intval($id_blocs_type) . " AND (statut <> 'poubelle')");
} }
} }
return $flux; return $flux;
} }
...@@ -101,8 +100,6 @@ function blocks_objet_compte_enfants($flux) { ...@@ -101,8 +100,6 @@ function blocks_objet_compte_enfants($flux) {
* @return array Données du pipeline * @return array Données du pipeline
*/ */
function blocks_optimiser_base_disparus($flux) { function blocks_optimiser_base_disparus($flux) {
sql_delete('spip_blocs', "statut='poubelle' AND maj < " . $flux['args']['date']); sql_delete('spip_blocs', "statut='poubelle' AND maj < " . $flux['args']['date']);
return $flux; return $flux;
} }
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter