[*] Classes : fix bug #PSFV-162 - Remove unused variables
This commit is contained in:
1 parent
6ba7aa41f7
commit
d8238b007e
4 files changed
+4
-16
No files matched your search
@@ -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