[*] Classes : fix bug #PSFV-162 - Remove unused variables
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user