[*] Core : clean all deprecated methods
This commit is contained in:
@@ -529,18 +529,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