[*] Core : clean all deprecated methods

This commit is contained in:
aFolletete
2011-04-12 18:50:26 +00:00
parent 05a58f53e6
commit fbc1882f85
20 changed files with 0 additions and 1159 deletions
-26
View File
@@ -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);