Forgot datamodels/1.x

This commit is contained in:
Eric Espie
2026-04-16 11:02:46 +02:00
parent f3b55a648e
commit 751ad846a4

View File

@@ -17,5 +17,10 @@ function AppUpgradeCopyFiles($sSourceDir)
$sSource = realpath($sSourceDir.'/datamodels/2.x/itop-core-update');
if ($sSource !== false) {
CoreUpdater::CopyDir($sSource, APPROOT.'env-production/itop-core-update');
} else {
$sSource = realpath($sSourceDir.'/datamodels/1.x/itop-core-update');
if ($sSource !== false) {
CoreUpdater::CopyDir($sSource, APPROOT.'env-production/itop-core-update');
}
}
}