mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-19 07:12:26 +02:00
N°8764 - skip audit when itop reinstalled on top of a backup without env-production to read previous datamodel + phpdoc fix
This commit is contained in:
@@ -717,6 +717,13 @@ class ApplicationInstaller
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$sPath = APPROOT.$this->GetTargetDir();
|
||||||
|
if (!is_dir($sPath)) {
|
||||||
|
SetupLog::Info("Reinstallation of an iTop from a backup (No ".$this->GetTargetDir()." found). Setup data audit disabled", null, ['skip-data-audit' => $sSkipDataAudit]);
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -996,7 +1003,7 @@ class ApplicationInstaller
|
|||||||
* @param string $sDataModelVersion
|
* @param string $sDataModelVersion
|
||||||
* @param array $aSelectedModuleCodes
|
* @param array $aSelectedModuleCodes
|
||||||
* @param array $aSelectedExtensionCodes
|
* @param array $aSelectedExtensionCodes
|
||||||
* @param array $aParamValues parameters array used to create config file using {@see Config::UpdateFromParams}
|
* @param string|null $sInstallComment
|
||||||
*
|
*
|
||||||
* @param null $sInstallComment
|
* @param null $sInstallComment
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user