[*] 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:
mDeflotte
2012-02-03 08:59:46 +00:00
parent 6394d95fcc
commit 791cc22ce0
2 changed files with 39 additions and 0 deletions
+2
View File
@@ -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');