Fix code not reachable

This commit is contained in:
Laurent Destailleur 2016-11-08 20:06:50 +01:00
parent d1446bb7ef
commit 52080fb917
2 changed files with 0 additions and 4 deletions

View File

@ -580,8 +580,6 @@ class pdf_rouget extends ModelePdfExpedition
$this->error=$langs->transnoentities("ErrorConstantNotDefined","EXP_OUTPUTDIR");
return 0;
}
$this->error=$langs->transnoentities("ErrorUnknown");
return 0; // Erreur par defaut
}
/**

View File

@ -691,8 +691,6 @@ class pdf_crabe extends ModelePDFFactures
$this->error=$langs->transnoentities("ErrorConstantNotDefined","FAC_OUTPUTDIR");
return 0;
}
$this->error=$langs->transnoentities("ErrorUnknown");
return 0; // Erreur par defaut
}