Commit 78dffacb authored by Mikael Salson's avatar Mikael Salson
Browse files

NotesExporterController: success message is useless

We know that the export succeeded when seeing the download window
parent ad21d432
......@@ -59,13 +59,6 @@ class NotesExporterController extends AlecsiaController {
return new RedirectResponse($this->getRequest()->headers->get('referer'));
}
//si certtain sujet ne sont pas gelé
if(!$ue_obj->isAllSujetFrozen()){
$this->setSuccess("certains sujets ne sont pas gelés!");
}
else{
$this->setSuccess("tout les sujets sont gelés!");
}
//Meme les si les notes sont pas gelé on prend toutes les notes (true)
$notes = $ue_obj->getNotes(true);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment