".htmlentities($msg["nettoyage_suppr_series"], ENT_QUOTES, $charset)."
";
$query = pmb_mysql_query("SELECT serie_id from series left join notices on tparent_id=serie_id where tparent_id is null");
$affected=0;
if($affected = pmb_mysql_num_rows($query)){
while ($ligne = pmb_mysql_fetch_object($query)) {
$serie = new serie($ligne->serie_id);
$serie->delete();
}
}
$query = pmb_mysql_query("update notices left join series on tparent_id=serie_id set tparent_id=0 where serie_id is null");
$spec = $spec - CLEAN_SERIES;
$v_state .= "
".htmlentities($msg["nettoyage_suppr_series"], ENT_QUOTES, $charset)." : ";
$v_state .= $affected." ".htmlentities($msg["nettoyage_res_suppr_series"], ENT_QUOTES, $charset);
$opt = pmb_mysql_query('OPTIMIZE TABLE series');
// mise à jour de l'affichage de la jauge
print netbase::get_display_final_progress();
print netbase::get_process_state_form($v_state, $spec);