forked from Wavyzz/dolibarr
Remove backport v16 form setup compatibility
This commit is contained in:
@@ -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);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user