Remove backport v16 form setup compatibility

This commit is contained in:
VESSILLER 2023-11-06 15:51:52 +01:00
parent e9148355a0
commit 4e07243056
2 changed files with 1 additions and 1404 deletions

View File

@ -89,12 +89,7 @@ $setupnotempty = 0;
$useFormSetup = 1;
if (!class_exists('FormSetup')) {
// For retrocompatibility Dolibarr < 16.0
if (floatval(DOL_VERSION) < 16.0 && !class_exists('FormSetup')) {
require_once __DIR__ . '/../backport/v16/core/class/html.formsetup.class.php';
} else {
require_once DOL_DOCUMENT_ROOT . '/core/class/html.formsetup.class.php';
}
require_once DOL_DOCUMENT_ROOT . '/core/class/html.formsetup.class.php';
}
$formSetup = new FormSetup($db);