mirror of
https://github.com/Combodo/iTop.git
synced 2026-05-20 15:52:24 +02:00
N°9165 - secure data cleanup
This commit is contained in:
@@ -312,9 +312,6 @@ if ($bInstall) {
|
||||
} else {
|
||||
echo "\nFailed to record designer updates(".$oMysqli->error.").\n";
|
||||
}
|
||||
} else {
|
||||
echo "\nFailed to read the revision from $sDeltaFile file. No designer update information will be recorded.\n";
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -349,8 +346,7 @@ if (! $bFoundIssues) {
|
||||
$sLogMsg = "installed!";
|
||||
|
||||
if ($bUseItopConfig && is_file("$sConfigFile.backup")) {
|
||||
echo "\nuse config file provided by backup in $sConfigFile.";
|
||||
copy("$sConfigFile.backup", $sConfigFile);
|
||||
unlink("$sConfigFile.backup");
|
||||
}
|
||||
|
||||
SetupLog::Info($sLogMsg);
|
||||
|
||||
Reference in New Issue
Block a user