// Db::autoExecute() call are now replaced by Db::insert() or Db::update()

This commit is contained in:
rMalie committed 2012-01-23 17:46:16 +00:00
1 parent cc841b6969
commit 04cabfe0f3
7 files changed
+14 -14

No files matched your search

@@ -43,7 +43,7 @@ function module_reinstall_blocksearch()
FROM `'._DB_PREFIX_.'hook_module` hm
LEFT JOIN `'._DB_PREFIX_.'hook` h on hm.id_hook=h.id_hook
WHERE h.name = "'.$hook_name.'" group by id_hook');
$res &= Db::getInstance()->AutoExecute(_DB_PREFIX_.'hook_module', $row, 'INSERT');
$res &= Db::getInstance()->insert('hook_module', $row);
}
return $res;
}