FIX: expense reports: no need to delete const at project module activation
This commit is contained in:
parent
e1777a6266
commit
88d93a4da5
@ -330,10 +330,6 @@ class modProjet extends DolibarrModules
|
||||
{
|
||||
global $conf, $langs;
|
||||
|
||||
if (dolibarr_del_const($this->db, 'EXPENSEREPORT_PROJECT_IS_REQUIRED', $conf->entity) < 0) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
// Permissions
|
||||
$this->remove($options);
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user