From 88d93a4da5199caa7d930e59cbb51bfb23f23741 Mon Sep 17 00:00:00 2001 From: Marc de Lima Lucio <68746600+marc-dll@users.noreply.github.com> Date: Tue, 5 Oct 2021 15:59:29 +0200 Subject: [PATCH] FIX: expense reports: no need to delete const at project module activation --- htdocs/core/modules/modProjet.class.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/htdocs/core/modules/modProjet.class.php b/htdocs/core/modules/modProjet.class.php index 7faa2232b0a..deefea6c2e8 100644 --- a/htdocs/core/modules/modProjet.class.php +++ b/htdocs/core/modules/modProjet.class.php @@ -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);