[*] BO : #PSTEST-624 - On creating group, automaticaly assign the new groups to all carriers
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