From d2e3ab5a7e46f50ac3133866ed2cc8851ee6d36c Mon Sep 17 00:00:00 2001 From: nicod_ <nicod@lerebooteux.fr> Date: Fri, 14 Apr 2023 18:48:26 +0200 Subject: [PATCH] Formatage --- blocks_pipelines.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/blocks_pipelines.php b/blocks_pipelines.php index 86e02cb..bd09b0b 100644 --- a/blocks_pipelines.php +++ b/blocks_pipelines.php @@ -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')"); } } - return $flux; } @@ -101,8 +100,6 @@ function blocks_objet_compte_enfants($flux) { * @return array Données du pipeline */ function blocks_optimiser_base_disparus($flux) { - sql_delete('spip_blocs', "statut='poubelle' AND maj < " . $flux['args']['date']); - return $flux; } -- GitLab