// 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:
@@ -542,18 +542,6 @@ class CategoryCore extends ObjectModel
|
||||
return Product::getProductsProperties($id_lang, $result);
|
||||
}
|
||||
|
||||
/**
|
||||
* Hide category prefix used for position
|
||||
*
|
||||
* @param string $name Category name
|
||||
* @return string Name without position
|
||||
*/
|
||||
static public function hideCategoryPosition($name)
|
||||
{
|
||||
Tools::displayAsDeprecated();
|
||||
return preg_replace('/^[0-9]+\./', '', $name);
|
||||
}
|
||||
|
||||
/**
|
||||
* Return main categories
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user