mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
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