[*] Classes : fix bug #PSFV-162 - Remove unused variables

This commit is contained in:
tDidierjean
2012-01-04 13:41:03 +00:00
parent 4c4f6da82a
commit 2f83e37cff
4 changed files with 4 additions and 16 deletions
@@ -25,8 +25,6 @@
* International Registered Trademark & Property of PrestaShop SA
*/
class PdfInvoiceControllerCore extends FrontController
{
protected $display_header = false;
@@ -59,9 +57,6 @@ class PdfInvoiceControllerCore extends FrontController
if (!OrderState::invoiceAvailable($order->getCurrentState()) && !$order->invoice_number)
die(Tools::displayError('No invoice available'));
// assignments
$country = new Country((int)$order->id_address_invoice);
$this->order = $order;
}