[*] Classes : Db::autoExecute() call are now replaced by Db::insert() or Db::update()

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@12624 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
rMalie
2012-01-23 17:41:02 +00:00
parent 03083929a1
commit a4d97911b1
29 changed files with 251 additions and 235 deletions
+1 -1
View File
@@ -535,7 +535,7 @@ class CustomerCore extends ObjectModel
foreach ($groups as $group)
{
$row = array('id_customer' => (int)$this->id, 'id_group' => (int)$group);
Db::getInstance()->AutoExecute(_DB_PREFIX_.'customer_group', $row, 'INSERT');
Db::getInstance()->insert('customer_group', $row);
}
}