[*] BO : #PSTEST-624 - On creating group, automaticaly assign the new groups to all carriers
git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12952 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
@@ -141,6 +141,8 @@ class GroupCore extends ObjectModel
|
||||
if (parent::add($autodate, $null_values))
|
||||
{
|
||||
Category::setNewGroupForHome((int)$this->id);
|
||||
|
||||
Carrier::assignGroupToAllCarriers((int)$this->id);
|
||||
|
||||
// Set cache of feature detachable to true
|
||||
Configuration::updateGlobalValue('PS_GROUP_FEATURE_ACTIVE', '1');
|
||||
|
||||
Reference in New Issue
Block a user