[*] Core : clean all deprecated methods
This commit is contained in:
@@ -435,19 +435,6 @@ class CarrierCore extends ObjectModel
|
||||
return $resultsArray;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $id_country
|
||||
* @param array $groups
|
||||
* @return Array carriers list
|
||||
* @deprecated
|
||||
*/
|
||||
public static function getCarriersOpc($id_country, $groups = NULL)
|
||||
{
|
||||
Tools::displayAsDeprecated();
|
||||
|
||||
return self::getCarriersForOrder((int)Country::getIdZone((int)($id_country)), $groups);
|
||||
}
|
||||
|
||||
public static function checkCarrierZone($id_carrier, $id_zone)
|
||||
{
|
||||
return Db::getInstance(_PS_USE_SQL_SLAVE_)->ExecuteS('
|
||||
@@ -621,19 +608,6 @@ class CarrierCore extends ObjectModel
|
||||
return (int)($row['total']);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get the price without taxes defined in carrier
|
||||
* @deprecated
|
||||
**/
|
||||
public function getPriceWithoutTaxes($productPrice)
|
||||
{
|
||||
Tools::displayAsDeprecated();
|
||||
$tax = new Tax($this->id_tax);
|
||||
return round($productPrice - ($productPrice * $tax->rate / 100), 2);
|
||||
}
|
||||
|
||||
|
||||
public function getShippingMethod()
|
||||
{
|
||||
$method = (int)($this->shipping_method);
|
||||
|
||||
Reference in New Issue
Block a user