// remove 1.4 deprecated functions

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7755 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
tDidierjean
2011-07-27 09:51:43 +00:00
parent 86fd2a4648
commit 4ade3a0ea0
22 changed files with 5 additions and 1088 deletions
-17
View File
@@ -340,23 +340,6 @@ class DiscountCore extends ObjectModel
return 0;
}
/**
* @param int $id_category_product
* @param int $id_category_discount
* @return bool
* @deprecated
*/
static public function isParentCategoryProductDiscount($id_category_product, $id_category_discount)
{
Tools::displayAsDeprecated();
$category = new Category((int)($id_category_product));
$parentCategories = $category->getParentsCategories();
foreach($parentCategories AS $parentCategory)
if($id_category_discount == $parentCategory['id_category'])
return true;
return false;
}
static public function getCategories($id_discount)
{
return Db::getInstance()->ExecuteS('