Fix bad directory for sql files
This commit is contained in:
parent
75a324349a
commit
635ce3de85
2 changed files with 2 additions and 2 deletions
|
|
@ -426,7 +426,7 @@ class modStockTransfer extends DolibarrModules
|
|||
{
|
||||
global $conf, $langs;
|
||||
|
||||
$result = $this->_load_tables('/install/mysql/tables/', 'stocktransfer');
|
||||
$result = $this->_load_tables('/install/mysql/', 'stocktransfer');
|
||||
if ($result < 0) {
|
||||
return -1;
|
||||
} // Do not activate module if error 'not allowed' returned when loading module SQL queries (the _load_table run sql with run_sql with the error allowed parameter set to 'default')
|
||||
|
|
|
|||
|
|
@ -291,7 +291,7 @@ class modWebhook extends DolibarrModules
|
|||
*/
|
||||
public function init($options = '')
|
||||
{
|
||||
$result = $this->_load_tables('/install/mysql/tables/', 'webhook');
|
||||
$result = $this->_load_tables('/install/mysql/', 'webhook');
|
||||
//$result = $this->_load_tables('/webhook/sql/');
|
||||
if ($result < 0) {
|
||||
return -1; // Do not activate module if error 'not allowed' returned when loading module SQL queries (the _load_table run sql with run_sql with the error allowed parameter set to 'default')
|
||||
|
|
|
|||
Loading…
Reference in a new issue