diff --git a/blocks_pipelines.php b/blocks_pipelines.php index 86e02cbb1f51d05d03d4d859f1ef49ff8a0d00e4..bd09b0bf78b37aa5e77c1209ef3d99fb250e31b4 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; }