[*] Classes : fix bug #PSFV-162 - Remove unused variables
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12125 b9a71923-0436-4b27-9f14-aed3839534dd
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