The damage dealt to Hogwarts during those battles forced the school to remain closed for a year for rebuilding. When it opened again, not a single sixth year from the year before came back. They had all received their diplomas by owl. Pansy had fed hers to the fire.