[-] CORE: Refactoring of the ValidateOrder method
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@9479 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
+10
-1
@@ -1042,4 +1042,13 @@ class OrderCore extends ObjectModel
|
||||
DELETE FROM `'._DB_PREFIX_.'order_detail`
|
||||
WHERE `id_order` = '.(int)($this->id)) !== false);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
** Get the an order detail list of the current order
|
||||
*/
|
||||
public function getOrderDetailList()
|
||||
{
|
||||
return OrderDetail::getList($this->id);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user