// Remove bad _SQL_USE_SLAVE_ uses + normalize Db->executeS(), Db->execute() and Db->numRows() names
This commit is contained in:
@@ -57,7 +57,7 @@ class Reverso extends Module
|
||||
WHERE `name` = \'createAccountTop\'
|
||||
');
|
||||
if (!$result)
|
||||
if(!Db::getInstance()->Execute('
|
||||
if(!Db::getInstance()->execute('
|
||||
INSERT INTO `'._DB_PREFIX_.'hook` (`name`, `title`, `description`, `position`)
|
||||
VALUES (\'createAccountTop\', \'Block above the form for create an account\', NULL , \'1\');
|
||||
'))
|
||||
|
||||
Reference in New Issue
Block a user