// Db::autoExecute() call are now replaced by Db::insert() or Db::update()
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user